1 // PR c++/60225
2 // { dg-do compile { target c++11 } }
3
4 struct A
5 {
AA6 constexpr A() {}
7 static constexpr A a[2] = {}; // { dg-error "22:elements of array 'constexpr const A A::a \\\[2\\\]' have incomplete type" }
8 };
9
10 // { dg-prune-output "storage size" }
11