2 /* { dg-options "" } */
4 /* Verify that GCC's initialized flexible array member extension
7 extern void abort(void);
13 struct f
{ int w
; T x
; };
14 struct g
{ int w
; T0 x
; };
16 static struct f f
= { 4, { 0, 1, 2, 3 } };
17 static int junk1
[] = { -1, -1, -1, -1 };
18 static struct g g
= { 4, { 0, 1, 2, 3 } }; /* { dg-warning "(excess elements)|(near initialization)" } */
19 static int junk2
[] = { -1, -1, -1, -1 };
24 for (i
= 0; i
< f
.w
; ++i
)