PR c++/86728 - C variadic generic lambda.
[official-gcc.git] / gcc / testsuite / g++.dg / cpp0x / initlist97.C
blobbe474155a3a922de8630c9bb2d2bf38444ba8154
1 // PR c++/77752
2 // { dg-do compile { target c++11 } }
4 namespace std {
5   class initializer_list;  // { dg-error "declaration" }
7 void f(std::initializer_list l) { f({2}); }  // { dg-error "incomplete type" }