Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
pr65954.C
blob: 851660b90a75e8847a86d15d929cd9b7d734a8f8 [
file
] [
log
] [
blame
]
// { dg-do compile { target c++11 } }
struct
Shape
{
enum
class
Type
{
Circle
,
Square
};
};
void
Foo
(
Shape
&
shape
)
{
+
shape
.
Type
::
NOPE
;
// { dg-error "is not a member of" }
}