re PR c++/15096 (parse error with templates and pointer to const member)
authorMark Mitchell <mark@codesourcery.com>
Mon, 14 Jun 2004 15:58:54 +0000 (15:58 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Mon, 14 Jun 2004 15:58:54 +0000 (15:58 +0000)
commit7c82a41e7f18796040b3e6effbf6c483b7beb915
tree3899c5cea0f22109ff80c76fd4ccd139aedf8dd4
parentf3207b37d34107210fda3f7b3bc999ac7537d7c0
re PR c++/15096 (parse error with templates and pointer to const member)

PR c++/15096
* decl.c (grokdeclarator): Ignore pointer-to-members when
computing template depth.

PR c++/14930
* name-lookup.c (pushtag): Do not try to put class declarations in
explicit specialization scopes.

PR c++/15096
* g++.dg/template/ptrmem10.C: New test.

PR c++/14930
* g++.dg/template/friend30.C: New test.

From-SVN: r83112
gcc/cp/ChangeLog
gcc/cp/decl.c
gcc/cp/name-lookup.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/template/friend30.C [new file with mode: 0644]
gcc/testsuite/g++.dg/template/ptrmem10.C [new file with mode: 0644]