]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR c++/50811 ([C++0x] G++ rejects class-virt-specifier if class-head-name includes...
authorVille Voutilainen <ville.voutilainen@gmail.com>
Fri, 21 Oct 2011 13:31:21 +0000 (16:31 +0300)
committerJason Merrill <jason@gcc.gnu.org>
Fri, 21 Oct 2011 13:31:21 +0000 (09:31 -0400)
commitb9af306b979306215b1f999ca2636a0874717c9c
tree6246de51819a6143d0287160899d9f74311b0c48
parentd75b27217bf410e2ca713a455852bcb8e2bcb6f2
re PR c++/50811 ([C++0x] G++ rejects class-virt-specifier if class-head-name includes nested-name-specifier)

PR c++/50811
* parser.c (cp_parser_class_head): Parse virt-specifiers
regardless of whether an id is present

From-SVN: r180301
gcc/cp/ChangeLog
gcc/cp/parser.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/cpp0x/override2.C