blob: b507620300aa911b5c84b45f1409204e7bd0009a (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
/* { dg-do compile } */
/* { dg-options "-std=gnu17 -Wno-implicit -Wimplicit-int" } */
static l; /* { dg-error "type defaults to" } */
foo (a) /* { dg-error "return type defaults to" } */
/* { dg-error "type of .a. defaults to .int." "type" { target *-*-* } .-1 } */
{
auto p; /* { dg-error "type defaults to" } */
typedef bar; /* { dg-error "type defaults to" } */
}
|