Debian Codegraph @

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

raw
1 // { dg-do compile { target c++11 } }
2 // { dg-final { scan-assembler-not "static_initialization" } }
3
4 struct A
5 {
6 int i;
7 constexpr A(): i(0) { }
8 };
9
10 struct B
11 {
12 A a[4];
13 };
14
15 extern const B b{};