Adjust scan string for PIE
[official-gcc.git] / gcc / testsuite / gcc.dg / Wimplicit-int-2.c
blob158b61ce47efc55d1957019d7b54863520981f02
1 /* { dg-do compile } */
2 /* { dg-options "-pedantic-errors" } */
4 static l; /* { dg-error "type defaults to" } */
6 foo (a) /* { dg-error "return type defaults to" } */
7 /* { dg-error "type of .a. defaults to .int." "type" { target *-*-* } 6 } */
9 auto p; /* { dg-error "type defaults to" } */
10 typedef bar; /* { dg-error "type defaults to" } */