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