blob: 4c1823e87b97b35eec602a2d48a7c444bffb85ac [file] [log] [blame]
//PR c++ 29024
typedef static int a; // { dg-error "conflicting" }
typedef register int b; // { dg-error "conflicting" }
typedef extern int c; // { dg-error "conflicting" }
static typedef int a; // { dg-error "conflicting" }
int foo()
{
typedef auto int bar; // { dg-error "conflicting|two or more data types" }
}