re PR c++/29729 (ICE with template class in template function)
authorMark Mitchell <mark@codesourcery.com>
Wed, 6 Dec 2006 05:12:46 +0000 (05:12 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Wed, 6 Dec 2006 05:12:46 +0000 (05:12 +0000)
commit7f1ba716a2b0eb2db5e641f739bf461912e7ef89
tree8687d2f642a0080d050842e20ef8361d9010c77b
parentf75709c6f83fbf654b8bc283f27ddd8d4f894227
re PR c++/29729 (ICE with template class in template function)

PR c++/29729
* decl2.c (check_member_template): Move check for member
templates in local classes to ...
* parser.c (cp_parser_template_declaration_after_export):
... here.
PR c++/29729
* g++.dg/template/crash63.C: New test.

From-SVN: r119575
gcc/cp/ChangeLog
gcc/cp/decl2.c
gcc/cp/parser.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/template/crash63.C [new file with mode: 0644]