Sign in
gnu
/
gcc
/
1f16a020acbea0af26209478990b83b1a1ba3a2b
/
.
/
gcc
/
testsuite
/
g++.dg
/
warn
/
ctor1.C
blob: 00a6c952b6421be52c29cea9bdc645218200b0ae [
file
] [
log
] [
blame
]
// PR c++/35734
// { dg-options "-W" }
struct
A
{
A
();
template
<
typename
T
>
A
(
const
T
&);
};
struct
B
:
A
{
B
(
const
B
&)
{}
// { dg-warning "base class" }
};