Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
pr71665-2.C
blob: aa6d9ad80b29644b29127483b58a3692c290c427 [
file
] [
log
] [
blame
]
// PR c++/71665
// { dg-do compile { target c++11 } }
class
A
{
enum
class
E
{
e
=
1
};
enum
{
a
=
E
::
e
};
// { dg-error "integral or unscoped enumeration" }
};