☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
warn
/
Wctor-dtor2.C
☽
☼
gcc/testsuite/g++.dg/warn/Wctor-dtor2.C
code
plain
raw
1
// PR c++/85792
2
// { dg-do compile { target c++11 } }
3
// { dg-additional-options -Wctor-dtor-privacy }
4
5
template<typename T> struct A { };
6
7
template<typename T> struct B : A<T> {
8
using A<T>::A;
9
10
B(const B&) { }
11
};