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