1 // Testcase for deduction of std::initializer_list for auto.
3 // { dg-options "-std=c++0x" }
6 #include <initializer_list>
7 extern "C" void abort();
12 auto ilt = { &t, &t };
13 if (typeid(ilt) != typeid(std::initializer_list<T*>))
16 auto il = { 1, 2, 3 };
17 if (typeid(il) != typeid(std::initializer_list<int>))
23 auto il = { 1, 2, 3 };
24 if (typeid(il) != typeid(std::initializer_list<int>))