blob: d0cb5569e46c41312e221849e9c89e579f32abe1 [file] [log] [blame]
// 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)); // { dg-error "cannot pass types with postblits or copy constructors as variadic arguments" }
}