☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
constexpr-incomplete1.C
☽
☼
gcc/testsuite/g++.dg/cpp0x/constexpr-incomplete1.C
code
plain
raw
1
// { dg-do compile { target c++11 } }
2
3
struct A
4
{
5
static constexpr A a = 1; // { dg-error "22:'constexpr const A A::a' has incomplete type" }
6
constexpr A(int i) { }
7
};