// PR c++/101174 // { dg-do compile { target c++17 } } struct S { using type = int; }; template struct multiset { using type = typename U::type; multiset(T); multiset(U); }; template multiset(T) -> multiset; multiset c(42);