Sign in
gnu
/
gcc
/
d769c5040874bf9546f2524f3f1d2a894165f92a
/
.
/
gcc
/
testsuite
/
g++.dg
/
warn
/
Wextra-4.C
blob: 5c33c2711544f0a228b512f6313d4bd67b6faaee [
file
] [
log
] [
blame
]
// PR libstdc++/85843
// { dg-do compile { target c++11 } }
// { dg-additional-options -Wextra }
struct
A
{
A
();
A
(
const
A
&)
=
default
;
};
struct
B
:
A
{
B
():
A
()
{
}
B
(
const
B
&)
{
}
};