OSDN Git Service

PR c++/43509
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 26 Mar 2010 21:39:48 +0000 (21:39 +0000)
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 26 Mar 2010 21:39:48 +0000 (21:39 +0000)
commite221246baf59019a4a64f1ad8a1c75c5aa9cc0bd
tree283a2f977dca6f87bfaacc7659ae3cafb65b8a44
parentee8f7e1483d36b9bce5f865fc2c37fb170f46b6e
PR c++/43509
* parser.c (cp_parser_qualifying_entity): Do accept enum names in
c++0x mode, but not other type-names.

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