* name-lookup.c (ambiguous_decl): Adds check for hidden types.
authoraaw <aaw@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 22 May 2007 21:05:01 +0000 (21:05 +0000)
committeraaw <aaw@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 22 May 2007 21:05:01 +0000 (21:05 +0000)
commit1221bff1f517d7f0453f4c3bffaa9493afce3ab7
treef6b49ec02c025097ff133b034f790ab8364dfef5
parent3a12a488645585f92c7949ff7ccd342cba613157
* 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
gcc/cp/ChangeLog
gcc/cp/name-lookup.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/lookup/hidden-class10.C [new file with mode: 0644]
gcc/testsuite/g++.dg/lookup/hidden-class11.C [new file with mode: 0644]