Sign in
gnu
/
gcc
/
1f16a020acbea0af26209478990b83b1a1ba3a2b
/
.
/
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
&)
{
}
};