http://gcc.gnu.org/ml/gcc-patches/2008-02/msg00110.html
[official-gcc.git] / gcc / testsuite / g++.dg / parse / typedef8.C
blob6ff26febbc381acc8acf637bbb49c45bb430b40b
1 //PR c++ 29024
3 typedef static int a;   // { dg-error "conflicting" }
4 typedef register int b; // { dg-error "conflicting" }
5 typedef extern int c;   // { dg-error "conflicting" }
6 static typedef int a;   // { dg-error "conflicting" }
8 int foo()
10   typedef auto int bar; // { dg-error "conflicting" }