PR c++/79401 - protected inherited constructor
authorJason Merrill <jason@redhat.com>
Fri, 10 Feb 2017 18:01:27 +0000 (13:01 -0500)
committerJason Merrill <jason@gcc.gnu.org>
Fri, 10 Feb 2017 18:01:27 +0000 (13:01 -0500)
commitc16b872c8f1e32c11bb87346835e23125fce3747
tree92adbb6f2201de5e0d23eb724bc143eeec7db18b
parent773acd542802a69b96e00dd82b6e210de564f553
PR c++/79401 - protected inherited constructor

* call.c (enforce_access): For inheriting constructor, find a base
binfo in the path we already have.

From-SVN: r245339
gcc/cp/ChangeLog
gcc/cp/call.c
gcc/testsuite/g++.dg/cpp0x/inh-ctor25.C [new file with mode: 0644]