blob: be474155a3a922de8630c9bb2d2bf38444ba8154 [file] [log] [blame]
// PR c++/77752
// { dg-do compile { target c++11 } }
namespace std {
class initializer_list; // { dg-error "declaration" }
}
void f(std::initializer_list l) { f({2}); } // { dg-error "incomplete type" }