Daily bump.
[official-gcc.git] / gcc / testsuite / gcc.dg / Wimplicit-int-2.c
blob4ff16f3673829532374d8daa244bf2e5484d416f
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 *-*-* } .-1 } */
9 auto p; /* { dg-error "type defaults to" } */
10 typedef bar; /* { dg-error "type defaults to" } */