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