1 /* { dg-do compile } */ 2 /* { dg-options "-Wno-implicit -Wimplicit-int" } */ 3 4 static l; /* { dg-warning "type defaults to" } */ 5 foo(a)6foo (a) /* { dg-warning "return type defaults to" } */ 7 /* { dg-warning "type of .a. defaults to .int." "type" { target *-*-* } 6 } */ 8 { 9 auto p; /* { dg-warning "type defaults to" } */ 10 typedef bar; /* { dg-warning "type defaults to" } */ 11 } 12