1 /* Test for multiple declarations and composite types. Check we don't
2 ICE with nested initializers. */
4 /* Origin: Joseph Myers <jsm@polyomino.org.uk> */
5 /* { dg-do compile } */
6 /* { dg-options "-g" } */
12 extern int w[] = { 1, 2 }; /* { dg-error "has both" } */
19 extern int x[] = { 3, 4, 5 }; /* { dg-error "has both" } */
26 extern int y[] = { 6 }; /* { dg-error "has both" } */
33 extern int z[] = { 7 }; /* { dg-error "has both" } */