Adjust scan string for PIE
[official-gcc.git] / gcc / testsuite / gcc.dg / pr59827.c
blob77e1e9ca20607143093826f9da9206dd41b8034d
1 /* PR middle-end/59827 */
2 /* { dg-do compile } */
4 int
5 foo (int p[2][]) /* { dg-error "array type has incomplete element type" } */
7 return p[0][0];
10 void
11 bar (void)
13 int p[2][1];
14 foo (p); /* { dg-error "type of formal parameter 1 is incomplete" } */