1 /* { dg-do compile } */
2 /* { dg-options "-std=c99 -pedantic-errors" } */
6 struct s
{ void (*f
)(int (*)[a
]); };
9 static int new_i() { i
++; return i
; }
10 static int bar1(int a
[new_i()][new_i()]);
13 extern void bar(int i
[n
][n
]); /* Since this isn't a VM type ensure we can have linkage. */
14 extern int bar1(int a
[new_i()][new_i()]); /* Since this isn't a VM type ensure we can have linkage. */
19 void bar(int i
[n
][n
]); /* Not a VM type, as VM arguments don't matter. */
20 int bar1(int a
[new_i()][new_i()]); /* Not a VM type, as VM arguments don't matter. */
26 goto A
; /* { dg-error "jump into scope of identifier with variably modified type" } */
27 int (*(*bar2
)(void))[n
];