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