re PR c++/22153 (ICE on invalid template specialization)
authorJosh Conner <jconner@apple.com>
Fri, 28 Oct 2005 17:58:59 +0000 (17:58 +0000)
committerJosh Conner <jconner@gcc.gnu.org>
Fri, 28 Oct 2005 17:58:59 +0000 (17:58 +0000)
commit7e2a12d3e4b115dce045eacf757f5c5bf61ad271
tree3ef076b94d5b9ef432db0cfe490255efa7f21605
parentfcc855922629461ec529fe857d951adeccf1941d
re PR c++/22153 (ICE on invalid template specialization)

PR c++/22153
* cp/parser.c (cp_parser_member_declaration): Detect and handle
a template specialization.
* testsuite/g++.dg/template/crash38.C: New test.
* testsuite/g++.dg/parse/explicit1.C: Change expected errors.

From-SVN: r105944
gcc/cp/ChangeLog
gcc/cp/parser.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/crash38.C [new file with mode: 0644]
gcc/testsuite/g++.dg/parse/explicit1.C