// PR c++/35734 // { dg-options "-W" } struct A { A(); template A(const T&); }; struct B : A { B(const B&) {} // { dg-warning "base class" } };