1 // Testcase for deduction of std::initializer_list for auto.
2 // { dg-do run { target c++11 } }
5 #include <initializer_list>
6 extern "C" void abort();
11 auto ilt = { &t, &t };
12 if (typeid(ilt) != typeid(std::initializer_list<T*>))
15 auto il = { 1, 2, 3 };
16 if (typeid(il) != typeid(std::initializer_list<int>))
22 auto il = { 1, 2, 3 };
23 if (typeid(il) != typeid(std::initializer_list<int>))