Sign in
gnu
/
gcc
/
d769c5040874bf9546f2524f3f1d2a894165f92a
/
.
/
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" }