This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/47450] [4.5/4.6/4.7 Regression] Anonymous top-level classes assigned to static members fail.


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47450

--- Comment #4 from Jason Merrill <jason at gcc dot gnu.org> 2012-01-06 23:19:14 UTC ---
Author: jason
Date: Fri Jan  6 23:19:05 2012
New Revision: 182975

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=182975
Log:
    DR 686
    PR c++/47450
    * parser.c (cp_parser_new_expression): Set
    type_definition_forbidden_message.

Added:
    trunk/gcc/testsuite/g++.dg/parse/new5.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/parser.c
    trunk/gcc/testsuite/ChangeLog


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]