1 2 3 4 5 6 7 8 9 10 11 12 13 14
// PR c++/48132 // { dg-do compile { target c++11 } } struct C { constexpr C (int x) : c (x) {} int c; }; void foo () { C a[] = { C (0) }; }