vect: Fix inconsistency in fully-masked lane-reducing op generation [PR116985]
[official-gcc.git] / gcc / testsuite / g++.dg / cpp0x / using-enum-1.C
blobbf251babeaefa43f18effecd313204b0efcd6d51
1 // PR c++/60265
2 // { dg-do compile { target c++11 } }
4 // [namespace.udecl]/7 shall not name a scoped enumerator.
5 // (so unscoped enumerator is ok)
7 namespace A
9   enum E { V };
11   using E::V;
14 void foo()
16   using A::E::V;
19 using A::E::V;
21 enum F { U };
23 using F::U;