PR c++/13925
commitf99f0e9cb9e3a8db3d652cbf015266285b22936a
authormmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 3 Feb 2004 20:01:59 +0000 (3 20:01 +0000)
committermmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 3 Feb 2004 20:01:59 +0000 (3 20:01 +0000)
treee5c58099c4f700145cfd88375f09a790ad2b3020
parent50dad21ff32d1c2a08f0a121aa6e2c0ab4a97b7e
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@77187 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/decl.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/template/lookup5.C [new file with mode: 0644]