* g++.dg/cpp0x/initlist96.C: Use <initializer_list>.
[official-gcc.git] / gcc / testsuite / g++.dg / cpp0x / initlist96.C
blob45fd128ba8357249d63e6da2d3e58a2b10186116
1 // PR c++/66515
2 // { dg-do compile { target c++11 } }
4 #include <initializer_list>
6 struct type_t { };
8 type_t &
9 get ()
11   std::initializer_list<type_t>{ { get () } };