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++/50811] [C++0x] G++ rejects class-virt-specifier if class-head-name includes nested-name-specifier


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

--- Comment #5 from Jason Merrill <jason at gcc dot gnu.org> 2011-10-21 13:31:26 UTC ---
Author: jason
Date: Fri Oct 21 13:31:21 2011
New Revision: 180301

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=180301
Log:
    PR c++/50811
    * parser.c (cp_parser_class_head): Parse virt-specifiers
    regardless of whether an id is present

Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/parser.c
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/g++.dg/cpp0x/override2.C


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