1 // PR c++/99103 2 // { dg-do compile { target c++17 } } 3 #include <initializer_list> 4 5 template <class T> 6 struct S { S(std::initializer_list<T>); }; 7 8 extern const S<int> x; 9 using type = decltype(S{x}); 10 using type = S<int>; // not S<S<int>> 11