re PR c++/14186 (enum in base class conflicts with derived class)
PR c++/14186 * name-lookup.c (push_class_level_binding): Do not complain about adding a binding for a member whose name is the same as the enclosing class if the member is located in a base class of the current class. PR c++/14186 * g++.dg/lookup/member1.C: New test. From-SVN: r78149
Showing
gcc/testsuite/g++.dg/lookup/member1.C
0 → 100644
Please
register
or
sign in
to comment