1 //PR c++ 29024 2 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" } 7 foo()8void foo() 9 { 10 typedef auto int bar; // { dg-error "conflicting|two or more data types" } 11 } 12