re PR c++/44333 (Ambiguity with typedef and using namespace)
authorJason Merrill <jason@redhat.com>
Wed, 2 Jun 2010 19:19:05 +0000 (15:19 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Wed, 2 Jun 2010 19:19:05 +0000 (15:19 -0400)
commit1e00382978e2fa9b1575ea15f5068cfbb5f877dc
treeb24cda1627e0891a6edcb0d288406810ab3fdbdb
parentc440459b92796c12b757a91dd8f53f8c027aaf8b
re PR c++/44333 (Ambiguity with typedef and using namespace)

PR c++/44333
* name-lookup.c (same_entity_p): New.
(ambiguous_decl): Multiple declarations of the same entity
are not ambiguous.

From-SVN: r160183
gcc/cp/ChangeLog
gcc/cp/name-lookup.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/tc1/dr101.C