Require target lra in gcc.dg/pr108095.c
[official-gcc.git] / gcc / testsuite / gdc.dg / pr94777a.d
blobd0cb5569e46c41312e221849e9c89e579f32abe1
1 // https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94777
2 // { dg-do compile }
4 extern void variadic(...);
6 void f94777()
8 struct S94777
10 int fld;
11 this(this) { }
13 auto var = S94777(0);
14 variadic(var, S94777(1)); // { dg-error "cannot pass types with postblits or copy constructors as variadic arguments" }