* decl.c (make_typename_type): s/parameters/arguments/.
[official-gcc.git] / gcc / testsuite / g++.dg / cpp0x / using-enum-2.C
blob0738c802b3446927178e57a089ccb1ced9e9613e
1 // PR c++/60265
2 // { dg-do compile { target c++11 } }
4 namespace A
6   enum class E { V };
8   using E::V;        // { dg-error "not a namespace or unscoped enum" }
11 void foo()
13   using A::E::V;     // { dg-error "not a namespace or unscoped enum" }
16 using A::E::V;       // { dg-error "not a namespace or unscoped enum" }
18 enum class F { U };
20 using F::U;          // { dg-error "not a namespace or unscoped enum" }