view gcc/testsuite/gdc.dg/pr94777a.d @ 19:2b5abeee2509 default tip

update gcc11
author anatofuz
date Mon, 25 May 2020 07:50:57 +0900
parents
children
line wrap: on
line source

// https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94777
// { dg-do compile }

extern void variadic(...);

void f94777()
{
    struct S94777
    {
        int fld;
        this(this) { }
    }
    auto var = S94777(0);
    variadic(var, S94777(1));
}