]>
Commit | Line | Data |
---|---|---|
92574c7c MP |
1 | /* { dg-do compile } */ |
2 | /* { dg-options "" } */ | |
3 | ||
4 | static l; /* { dg-warning "type defaults to" } */ | |
5 | ||
6 | foo (a) /* { dg-warning "return type defaults to" } */ | |
6143c998 | 7 | /* { dg-warning "type of .a. defaults to .int." "type" { target *-*-* } .-1 } */ |
92574c7c MP |
8 | { |
9 | auto p; /* { dg-warning "type defaults to" } */ | |
10 | typedef bar; /* { dg-warning "type defaults to" } */ | |
11 | } |