Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
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" }
};