Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
gcc
/
testsuite
/
g++.dg
/
parse
/
int-as-enum1.C
blob: c5ed261f6254c34f56f4f00ef3342a57aecfb6aa [
file
] [
log
] [
blame
]
// PR c++/4207
// Origin: <wanderer@rsu.ru>
// { dg-do compile }
typedef
int
A
;
// { dg-message "previous" }
enum
::
A
{};
// { dg-error "typedef-name|expected unqualified-id" }