]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR c++/59482 (A friend class cannot inherit a private nested class)
authorVille Voutilainen <ville.voutilainen@gmail.com>
Wed, 22 Jan 2014 18:08:01 +0000 (20:08 +0200)
committerPaolo Carlini <paolo@gcc.gnu.org>
Wed, 22 Jan 2014 18:08:01 +0000 (18:08 +0000)
commit32ab58b2a067db7571934d55fc1aaed80d23f5b3
treec4428bd731d30db9d4d54e5a992b3916fc717c55
parent1bb999001008c6caf64e8190828df31dc32286fa
re PR c++/59482 (A friend class cannot inherit a private nested class)

/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.

From-SVN: r206933
gcc/cp/ChangeLog
gcc/cp/parser.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/pr59482.C [new file with mode: 0644]