1 /* Test for multiple declarations and composite types.  Diagnosis of
2    completion incompatible with implicit initializer.  */
3 
4 /* Origin: Joseph Myers <jsm@polyomino.org.uk> */
5 /* { dg-do compile } */
6 /* { dg-options "-g" } */
7 
8 static int x[];
9 
10 void
f(void)11 f (void)
12 {
13   extern int x[2]; /* { dg-error "completed incompatibly" } */
14 }
15 
16 /* The following is OK.  */
17 
18 static int y[];
19 void
g(void)20 g (void)
21 {
22   extern int y[1];
23 }
24