PR c++/85553
[official-gcc.git] / gcc / testsuite / g++.dg / cpp0x / initlist24.C
blobd88574436bd51d2c24007cc9f783efbbf6109513
1 // PR c++/39923
2 // { dg-do compile { target c++11 } }
4 #include <initializer_list>
6 void test3()
8   std::initializer_list<int> list{move}; // { dg-error "not declared|could not convert" }