re PR c++/24915 (Overload errors generated without template instantiations for class...
authorMark Mitchell <mmitchel@gcc.gnu.org>
Tue, 20 Dec 2005 04:44:20 +0000 (04:44 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Tue, 20 Dec 2005 04:44:20 +0000 (04:44 +0000)
commit6b20b203a615aa0a301a006ec96531b1f23337a7
treedbb215ef5d575a86d0e925759b871bf32dec3234
parentc2c22cd6345a8e6f58702c5e406fc78cd33ef959
re PR c++/24915 (Overload errors generated without template instantiations for class member templates)

PR c++/24915
* class.c (add_method): Do not treat templates as identical unless
their return types are the same.
PR c++/24915
* g++.dg/template/overload8.C: New test.

From-SVN: r108837
gcc/cp/ChangeLog
gcc/cp/class.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/template/overload8.C [new file with mode: 0644]