[Bug c++/44333] Ambiguity with typedef and using namespace

jason at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Wed Jun 2 19:20:00 GMT 2010



------- Comment #3 from jason at gcc dot gnu dot org  2010-06-02 19:19 -------
Subject: Bug 44333

Author: jason
Date: Wed Jun  2 19:19:05 2010
New Revision: 160183

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=160183
Log:
        PR c++/44333
        * name-lookup.c (same_entity_p): New.
        (ambiguous_decl): Multiple declarations of the same entity
        are not ambiguous.

Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/name-lookup.c
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/g++.dg/tc1/dr101.C


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44333



More information about the Gcc-bugs mailing list