OSDN Git Service

PR c++/28269
authorlmillward <lmillward@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 15 Jul 2006 15:00:28 +0000 (15:00 +0000)
committerlmillward <lmillward@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 15 Jul 2006 15:00:28 +0000 (15:00 +0000)
commit7b83d1d8be3e204a0e44b9c3c6fa190390dd2073
treebaffa7f941c5afdca64b05aae9a72005557b5923
parent4405c5813948440c2bd61b4ba64b5efe7afcb281
PR c++/28269
* parser.c (cp_parser_elaborated_type_specifier):
Return early if an invalid type was detected.

* g++.dg/template/crash54.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@115475 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/parser.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/template/crash54.C [new file with mode: 0644]