1 // { dg-do compile { target c++11 } }
2 // { dg-options -fno-new-inheriting-ctors }
11 using B1::B1; // { dg-message "declared" }
12 using B2::B2; // { dg-error "inherited" }
13 }; // ill-formed: attempts to declare D1(int) twice
17 D2(int); // OK: user declaration supersedes both implicit declarations