[Bug c++/59482] A friend class cannot inherit a private nested class
paolo at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Jan 22 18:08:00 GMT 2014
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59482
--- Comment #2 from paolo at gcc dot gnu.org <paolo at gcc dot gnu.org> ---
Author: paolo
Date: Wed Jan 22 18:08:01 2014
New Revision: 206933
URL: http://gcc.gnu.org/viewcvs?rev=206933&root=gcc&view=rev
Log:
/cp
2014-01-22 Ville Voutilainen <ville.voutilainen@gmail.com>
PR c++/59482
* parser.c (cp_parser_class_head): Push the class before parsing
the base-clause, pop after it.
/testsuite
2014-01-22 Ville Voutilainen <ville.voutilainen@gmail.com>
PR c++/59482
* g++.dg/pr59482.C: New.
Added:
trunk/gcc/testsuite/g++.dg/pr59482.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/parser.c
trunk/gcc/testsuite/ChangeLog
More information about the Gcc-bugs
mailing list