// { dg-do link { target c++11 } }struct X {X(X &&); };struct A {A() {}A(const A&);// #1A(A &&) =default;// #2, defined as deleted (12.8 [class.copy])template<typename T>A(T &&);// #3union{ X x; };};struct B : A {usingA::A;B(...) {}};intmain() {
B b =A();// calls B::B(...): #1, #2, and #3 are excluded from candidate set}