re PR c++/13925 (Bug while befriending specializations)
commit18f5be99b4e9b8104748413f4538bb620d9f0a45
authorMark Mitchell <mark@codesourcery.com>
Tue, 3 Feb 2004 20:01:59 +0000 (3 20:01 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Tue, 3 Feb 2004 20:01:59 +0000 (3 20:01 +0000)
treee5c58099c4f700145cfd88375f09a790ad2b3020
parent4bfb8bbaf6294daa459f1f0d8216796001998afd
re PR c++/13925 (Bug while befriending specializations)

PR c++/13925
* decl.c (start_function): Do not call pushdecl for any
instantiation or specialization of a primary template.

PR c++/13925
* g++.dg/template/lookup5.C: New test.

From-SVN: r77187
gcc/cp/ChangeLog
gcc/cp/decl.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/template/lookup5.C [new file with mode: 0644]