This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r157765 - in /trunk/gcc: cp/ChangeLog cp/parser...
- From: jason at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Fri, 26 Mar 2010 21:39:49 -0000
- Subject: r157765 - in /trunk/gcc: cp/ChangeLog cp/parser...
Author: jason
Date: Fri Mar 26 21:39:48 2010
New Revision: 157765
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=157765
Log:
PR c++/43509
* parser.c (cp_parser_qualifying_entity): Do accept enum names in
c++0x mode, but not other type-names.
Added:
trunk/gcc/testsuite/g++.dg/cpp0x/parse1.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/parser.c
trunk/gcc/testsuite/ChangeLog