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