gcc/cp/
authoraaw <aaw@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 10 Aug 2007 18:12:12 +0000 (18:12 +0000)
committeraaw <aaw@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 10 Aug 2007 18:12:12 +0000 (18:12 +0000)
commitf8be65bb3cad41ca6c58a6631e8976df2e8789b5
treed22743d3e641704b4a17c35b436280d174a920e4
parentc21f4fcd059e1d9644062d61ef5eefc6bcdd177c
gcc/cp/
* name-lookup.c (do_nonmember_using_decl): Print an error for ambiguous
type lookups.
(ambiguous_decl): Construct tree of ambiguous types.  Remove extaneous
function parameter.
(unqualified_namespace_lookup): Fix ambiguous_decl call.
(lookup_using_namespace): Fix ambiguous_decl call.
(qualified_lookup_using_namespace): Fix ambiguous_decl call.

gcc/testsuite/
* g++.dg/lookup/using18.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@127347 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/name-lookup.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/lookup/using18.C [new file with mode: 0644]