// PR c++/85792 // { dg-do compile { target c++11 } } // { dg-additional-options -Wctor-dtor-privacy } template struct A { }; template struct B : A { using A::A; B(const B&) { } };