Require target lra in gcc.dg/pr108095.c
[official-gcc.git] / gcc / testsuite / gcc.dg / pr93577-1.c
blob31023d79d99c2106cac5d1768601d777a440ffe2
1 /* Test ICE with variable-size struct initializer: bug 93577. */
2 /* { dg-do compile } */
3 /* { dg-options "" } */
5 void
6 f (int c)
8 struct s
10 int x[c];
11 struct
13 int z;
14 } nest;
15 } v = { 1, 2 }; /* { dg-error "variable-sized object may not be initialized" } */