Debian Codegraph @

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

raw
1 // PR c++/63241
2 // { dg-do compile { target c++11 } }
3
4 struct A {
5 constexpr A(int){}
6 };
7
8 int main() {
9 int i = 1;
10 A array[2][2] =
11 {{{0}, {i}},
12 {{0}, {0}}};
13 }