1 // Core issues 2273, 2277
2 // { dg-do compile { target c++11 } }
3 
4 struct A
5 {
6   A(int, int = 0);
7   static void f(int = 0);
8 };
9 
10 struct B: A
11 {
12   using A::A;
13   B(int);
14 
15   using A::f;
16   static void f();
17 };
18 
19 struct C: B {
20   using B::B;
21   using B::f;
22 };
23 
main()24 int main()
25 {
26   C c (42);
27   c.f();
28 }
29