// { dg-do compile { target c++23 } } template struct A { A(T); template A(T, U); }; template struct B : A { using A::A; }; using type = decltype(B(0)); using type = decltype(B(0, 0)); using type = B;