re PR c++/14002 (Friend declaration with template-id causes confusion of function...
authorMark Mitchell <mark@codesourcery.com>
Tue, 3 Feb 2004 17:59:58 +0000 (17:59 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Tue, 3 Feb 2004 17:59:58 +0000 (17:59 +0000)
commit3c398f341f8144ca380fc8820ab23d6cace90445
tree64c2d418be47ee0413e8586849d3a385799239e5
parent83042fcaec9b5763ddc895a57c6618afbfc4c897
re PR c++/14002 (Friend declaration with template-id causes confusion of function arguments)

PR c++/14002
* semantics.c (finish_id_expression): Do not return an
IDENTIFIER_NODE when lookup finds a PARM_DECL.

PR c++/14002
* g++.dg/parse/template13.C: New test.

From-SVN: r77183
gcc/cp/ChangeLog
gcc/cp/semantics.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/parse/error13.C [new file with mode: 0644]
gcc/testsuite/g++.dg/parse/template13.C [new file with mode: 0644]