// { dg-do compile { target c++17 } } #include struct B { }; template struct A { A(std::initializer_list); A(T, B); }; A a { 1, B() }; template struct same; template struct same { }; same> s;