member1.C
109 Bytes
-
re PR c++/14186 (enum in base class conflicts with derived class) · a6567a0f
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
Mark Mitchell committed