1 // PR c++/27572
2 // { dg-do compile }
3 
f1(typedef)4 void f1(typedef) {}        // { dg-error "9:typedef declaration" }
5 // { dg-error "no type" "" { target *-*-* } .-1 }
f2(typedef x)6 void f2(typedef x) {}      // { dg-error "9:typedef declaration" }
7 // { dg-error "type" "" { target *-*-* } .-1 }
f3(typedef x[])8 void f3(typedef x[]) {}    // { dg-error "9:typedef declaration" }
9 // { dg-error "type" "" { target *-*-* } .-1 }
f4(typedef int x)10 void f4(typedef int x) {}  // { dg-error "9:typedef declaration" }
11