OSDN Git Service

PR c++/43509
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 26 Mar 2010 21:39:48 +0000 (21:39 +0000)
committerMasaki Muranaka <monaka@monami-software.com>
Sun, 23 May 2010 00:37:18 +0000 (09:37 +0900)
* 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/testsuite/ChangeLog

index 81e9772..d790bfd 100644 (file)
@@ -1,3 +1,9 @@
+2010-03-26  Jason Merrill  <jason@redhat.com>
+
+       PR c++/43509
+       * parser.c (cp_parser_qualifying_entity): Do accept enum names in
+       c++0x mode, but not other type-names.
+
 2010-03-26  Dodji Seketeli  <dodji@redhat.com>
 
        PR c++/43327
index c61e37c..3ed0e1c 100644 (file)
@@ -1,3 +1,8 @@
+2010-03-26  Jason Merrill  <jason@redhat.com>
+
+       PR c++/43509
+       * g++.dg/cpp0x/parse1.C: New.
+
 2010-03-26  Uros Bizjak  <ubizjak@gmail.com>
 
        PR target/43524