blob: 99c61a76ecfe9d8c23fe520696b934df26eb6d34 [file] [log] [blame]
/* { dg-do compile } */
/* { dg-options "-fpermissive -Wno-implicit -Wimplicit-int" } */
static l; /* { dg-warning "type defaults to" } */
foo (a) /* { dg-warning "return type defaults to" } */
/* { dg-warning "type of .a. defaults to .int." "type" { target *-*-* } .-1 } */
{
auto p; /* { dg-warning "type defaults to" } */
typedef bar; /* { dg-warning "type defaults to" } */
}