blob: 55d62bb7cb2498d119777bf2c0853f90e7b151a1 (
plain)
1
2
3
4
5
6
7
|
// PR c++/27572
// { dg-do compile }
void f1(typedef) {} // { dg-error "no type|typedef declaration" }
void f2(typedef x) {} // { dg-error "no type|typedef declaration" }
void f3(typedef x[]) {} // { dg-error "no type|typedef declaration" }
void f4(typedef int x) {} // { dg-error "typedef declaration" }
|