1 // PR c++/44157 2 // { dg-options "-std=c++0x" } 3 4 #include <initializer_list> 5 6 template<typename T> f(T)7 void f(T) { } 8 main()9 int main() { 10 std::initializer_list<int> a = { 0 }; 11 f(a); 12 13 f<std::initializer_list<int> >({ 0 }); 14 } 15