1 /* { dg-do compile } */
2 /* { dg-options "-std=gnu99" } */
3 /* { dg-require-effective-target alloca } */
5 /* These are crash tests related to PR middle-end/6994; see also
6 g++.dg/ext/vla1.C. Note that at present A and C cannot be inlined. */
8 static inline void A (int i
)
10 struct S
{ int ar
[1][i
]; } s
;
20 static inline void C (int i
)
22 union U
{ int ar
[1][i
]; } u
;