1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
// { dg-do compile { target c++11 } } struct B; struct A { A(const B&, int = 0); }; struct B: A { using A::A; }; extern B b; B b2{b};