aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/g++.dg/lookup/using52.C
blob: bf2620714e898d59f57ba7e4281d9e62500b112b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// { dg-do compile }
// PR c++/52645

class A
{
protected:
  struct B {};
};

class C : A
{
protected:
  using A::B;

  struct D : public B {};
};