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