OSDN Git Service

PR c++/22153
authorjconner <jconner@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 28 Oct 2005 17:58:59 +0000 (17:58 +0000)
committerjconner <jconner@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 28 Oct 2005 17:58:59 +0000 (17:58 +0000)
commit81ef2172af6245487cf4d5be22a85b89d9516f2d
tree3ef076b94d5b9ef432db0cfe490255efa7f21605
parentc6d229168bc9d5347b670e893ced43cd61a79c14
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@105944 138bc75d-0d04-0410-961f-82ee72b054a4
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