Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
scoped_enum4.C
blob: 80798eff4612b19ef7dbcd49a1ae61addd995cd4 [
file
] [
log
] [
blame
]
// PR c++/60994
// { dg-do compile { target c++11 } }
struct
B
{
enum
struct
A
{
n
=
3
};
};
struct
C
:
B
{
using
B
::
A
;
A foo
()
{
int
A
;
return
A
::
n
;
}
};