1 // PR c++/44703 2 // { dg-do compile { target c++11 } } 3 4 #include <initializer_list> 5 6 typedef std::initializer_list<int> type ; f(type)7 void f(type) {} 8 main()9 int main() 10 { 11 // error: could not convert '{1, 2, 3}' to 'type' 12 f({1,2,3}) ; 13 } 14 15