cp:
authornathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 1 Dec 2004 16:37:32 +0000 (16:37 +0000)
committernathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 1 Dec 2004 16:37:32 +0000 (16:37 +0000)
commitdd1d31096c2b5057c5736cbbf6ce85ff26f69098
tree5a37eb2fb4fc35e6cc3cd6c36dce910c1b94477d
parent2eb5d193306bb5d5cc317a465f99f584d47b6d79
cp:
PR c++/18729
* parser.c (cp_parser_class_name): Check decl's type is not
error_mark_node.
testsuite:
PR C++/18729
* g++.dg/parse/crash20.C: New.

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