blob: 60b8f39ee5e015eef35deb52ee1f7c4dd3f74ddc [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" }
void foo()
{
typedef auto int bar; // { dg-error "conflicting|two or more data types" }
}