/cp
commit6fcb0ab53a21bdb8bac731f9dba18f1c565c4f5f
authorpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 8 May 2013 15:22:03 +0000 (8 15:22 +0000)
committerpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 8 May 2013 15:22:03 +0000 (8 15:22 +0000)
tree6357a81fb073b47a705fc2bee4a3561f1bdaf44c
parent27fc86e00ed0a2047128c443bfbdc16638b91398
/cp
2013-05-08  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/51226
* parser.c (cp_parser_enum_specifier): Handle nested_name_specifier
== error_mark_node.

/testsuite
2013-05-08  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/51226
* g++.dg/cpp0x/pr51226.C: New.

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