1 // PR libstdc++/85843
2 // { dg-do compile { target c++11 } }
3 // { dg-additional-options -Wextra }
4 
5 struct A
6 {
7   A();
8   A(const A&) = default;
9 };
10 
11 struct B : A
12 {
BB13   B(): A() { }
BB14   B(const B&) { }
15 };
16