2014-07-29 Ed Smith-Rowland <3dw4rd@verizon.net>
[official-gcc.git] / gcc / testsuite / gcc.dg / 20050620-1.c
blobbefdd9636500cfc8fe7db1bd4f67bee5796ed922
1 /* PR middle-end/22028 */
2 /* { dg-do compile } */
3 /* { dg-options "" } */
5 void
6 foo (void)
8 struct { int i[]; } u; /* { dg-error "flexible array member" } */
11 void
12 bar (void)
14 struct { struct a b; } c; /* { dg-error "has incomplete type" } */