blob: bf2620714e898d59f57ba7e4281d9e62500b112b [file] [log] [blame]
// { dg-do compile }
// PR c++/52645
class A
{
protected:
struct B {};
};
class C : A
{
protected:
using A::B;
struct D : public B {};
};