Update concepts branch to revision 131834
[official-gcc.git] / gcc / testsuite / g++.dg / parse / int-as-enum1.C
blob7c37eb08792b0e71e2de5981862f5e1ebba6ea5c
1 // PR c++/4207
2 // Origin: <wanderer@rsu.ru>
3 // { dg-do compile }
5 typedef int A;  // { dg-error "previous" }
6 enum ::A {};    // { dg-error "typedef-name|expected unqualified-id" }