Sign in
gnu
/
gcc
/
1f16a020acbea0af26209478990b83b1a1ba3a2b
/
.
/
gcc
/
testsuite
/
g++.dg
/
warn
/
Wctor-dtor2.C
blob: 48137851f05e4a95a613629a844ada8f8b8cb7fd [
file
] [
log
] [
blame
]
// PR c++/85792
// { dg-do compile { target c++11 } }
// { dg-additional-options -Wctor-dtor-privacy }
template
<
typename
T
>
struct
A
{
};
template
<
typename
T
>
struct
B
:
A
<
T
>
{
using
A
<
T
>::
A
;
B
(
const
B
&)
{
}
};