blob: b5385480c8964ee8ddf88e7dbc04c3346d52d347 [file] [log] [blame]
// PR c++/44703
// { dg-options -std=c++0x }
#include <initializer_list>
typedef std::initializer_list<int> type ;
void f(type) {}
int main()
{
// error: could not convert '{1, 2, 3}' to 'type'
f({1,2,3}) ;
}