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