Fortran: Fix PR 47485.
[gcc.git] / gcc / testsuite / g++.dg / warn / Wctor-dtor2.C
blob48137851f05e4a95a613629a844ada8f8b8cb7fd
1 // PR c++/85792
2 // { dg-do compile { target c++11 } }
3 // { dg-additional-options -Wctor-dtor-privacy }
5 template<typename T> struct A { };
7 template<typename T> struct B : A<T> {
8   using A<T>::A;
10   B(const B&) { }