1 2 3 4 5 6 7 8 9 10 11 12
// PR c++/49205 // { dg-do compile { target c++11 } } #include <initializer_list> struct A { template<typename ...T> A(T...); A(std::initializer_list<short>); A(std::initializer_list<long>); }; A a{};