Debian Codegraph @

gcc/testsuite/g++.dg/cpp0x/constexpr-incomplete1.C

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 };