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++/59482] A friend class cannot inherit a private nested class


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


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