1 // { dg-do compile { target c++11 } }
9 struct D1 : B1 { // { dg-error "no match" }
10 using B1::B1; // implicitly declares D1(int)
14 D1 d(6); // OK: d.x is not initialized
15 D1 e; // { dg-error "deleted" } D1 has no default constructor
18 using B2::B2; // { dg-error "B1::B1" }
21 D2 f(1.0); // { dg-error "deleted" } B1 has no default constructor