1 2 3 4 5 6 7
// { dg-options -std=c++0x } struct A { static constexpr A a = 1; // { dg-error "incomplete|literal" } constexpr A(int i) { } };