* name-lookup.c (ambiguous_decl): Adds check for hidden types.
(unqualified_namespace_lookup): Adds check for hidden types. * g++.dg/lookup/hidden-class10.C: New test. * g++.dg/lookup/hidden-class11.C: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@124963 138bc75d-0d04-0410-961f-82ee72b054a4
Showing
- gcc/cp/ChangeLog 5 additions, 0 deletionsgcc/cp/ChangeLog
- gcc/cp/name-lookup.c 4 additions, 2 deletionsgcc/cp/name-lookup.c
- gcc/testsuite/ChangeLog 5 additions, 0 deletionsgcc/testsuite/ChangeLog
- gcc/testsuite/g++.dg/lookup/hidden-class10.C 11 additions, 0 deletionsgcc/testsuite/g++.dg/lookup/hidden-class10.C
- gcc/testsuite/g++.dg/lookup/hidden-class11.C 23 additions, 0 deletionsgcc/testsuite/g++.dg/lookup/hidden-class11.C
Loading
Please register or sign in to comment