* decl.c (make_typename_type): s/parameters/arguments/.
[official-gcc.git] / gcc / testsuite / g++.dg / cpp0x / enum25.C
blobcb2cf8f5363b15bf528f981c6ce33eb1cf7c9dfb
1 // PR c++/56793
2 // { dg-require-effective-target c++11 }
4 struct A
6   enum struct B {X, Y} b;
7 } a;
9 enum struct D {X,Y};
10 struct C { } c;
12 int main ()
14   if (a.b == a.B::Y)
15     a.b = A::B::X;
17   c.D::Y;                       // { dg-error "not a member" }