☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
initlist97.C
☽
☼
gcc/testsuite/g++.dg/cpp0x/initlist97.C
code
plain
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" }