* parser.c (cp_parser_enum_specifier): Check for error_mark_node.
authorJason Merrill <jason@redhat.com>
Wed, 6 Feb 2013 20:58:32 +0000 (15:58 -0500)
committerJason Merrill <jason@gcc.gnu.org>
Wed, 6 Feb 2013 20:58:32 +0000 (15:58 -0500)
commitceb8649576ddeedbc83623af23eadbad7a13e621
tree6e00e364e80abaad663e742be56af3466421657a
parent828e50c53cc7d1d4e30ba32e2a7c7343d7f5fe46
* parser.c (cp_parser_enum_specifier): Check for error_mark_node.

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