modula2: Tidyup gm2-compiler/M2MetaError.mod
[official-gcc.git] / gcc / testsuite / gcc.dg / Wimplicit-int-1.c
blob206db40e4cd0cbcf0f601fc75579b12c672cba64
1 /* { dg-do compile } */
2 /* { dg-options "-std=gnu17 -fpermissive" } */
4 static l; /* { dg-warning "type defaults to" } */
6 foo (a) /* { dg-warning "return type defaults to" } */
7 /* { dg-warning "type of .a. defaults to .int." "type" { target *-*-* } .-1 } */
9 auto p; /* { dg-warning "type defaults to" } */
10 typedef bar; /* { dg-warning "type defaults to" } */