Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
enum33.C
blob: ac39741aa538cecb63d833eee88262cfaca7537c [
file
] [
log
] [
blame
]
// PR c++/70241
// { dg-do compile { target c++11 } }
class
A
{
public
:
enum
B
:
int
;
enum
class
C
:
int
;
private
:
enum
B
:
int
{
};
// { dg-error "different access" }
enum
class
C
:
int
{
};
// { dg-error "different access" }
};