(root)/
gcc-13.2.0/
gcc/
testsuite/
g++.dg/
warn/
Wextra-4.C
// 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&) { }
};