Debian Codegraph @

gcc/testsuite/g++.dg/cpp0x/initlist97.C

raw
1 // PR c++/77752
2 // { dg-do compile { target c++11 } }
3
4 namespace std {
5 class initializer_list; // { dg-error "declaration" }
6 }
7 void f(std::initializer_list l) { f({2}); } // { dg-error "incomplete type" }