// PR c++/116492 // CWG 2789 // { dg-do compile { target c++20 } } template struct A { A() requires true = delete; }; struct B : A { B(); using A::A; }; B b; // OK, selects the non-inherited constructor over the more constrained // inherited constructor.