]> gcc.gnu.org Git - gcc.git/commit - gcc/cp/name-lookup.c
name-lookup.c (push_overloaded_decl): Don't error if the new decl matches the old...
authorAlexandre Oliva <aoliva@redhat.com>
Wed, 2 Mar 2005 19:55:52 +0000 (19:55 +0000)
committerAlexandre Oliva <aoliva@gcc.gnu.org>
Wed, 2 Mar 2005 19:55:52 +0000 (19:55 +0000)
commit713101a65e1ebfc829f030bd68f32a8f91703ac0
tree83c5262d7842a3f042e65278bf3c6eacf9f98405
parentac0bd8018d589a221f8ad95f7a2ddd4d228f1bb5
name-lookup.c (push_overloaded_decl): Don't error if the new decl matches the old one.

gcc/cp/ChangeLog:
* name-lookup.c (push_overloaded_decl): Don't error if the new
decl matches the old one.
* decl.c (redeclaration_error_message): Likewise.
gcc/testsuite/ChangeLog:
* g++.dg/overload/using2.C: New.

From-SVN: r95798
gcc/cp/ChangeLog
gcc/cp/decl.c
gcc/cp/name-lookup.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/overload/using2.C [new file with mode: 0644]
This page took 0.05365 seconds and 5 git commands to generate.