1 /* This testcase ICEd because statement expression type was set, but was not
8 extern void abort (void);
9 extern void exit (int);
13 return (struct A
) { 176, 52, 31 };
16 void baz (struct A
*a
)
18 if (a
->a
!= 176 || a
->b
!= 52 || a
->c
!= 31)
26 d
= ({ { bar (); } }); /* { dg-error "void value" } */
27 d
= ({ if (1) { bar (); } }); /* { dg-error "void value" } */
28 d
= ({ while (0) { bar (); } }); /* { dg-error "void value" } */
29 d
= ({ do { bar (); } while (0); }); /* { dg-error "void value" } */