2018-11-07 Richard Biener <rguenther@suse.de>
[official-gcc.git] / gcc / testsuite / g++.dg / cpp0x / constexpr-array.C
blob1614d6bd2cc7ec58872e777d4d8fd5cf3595f74d
1 // { dg-do compile { target c++11 } }
2 // { dg-final { scan-assembler-not "static_initialization" } }
4 struct A
6   int i;
7   constexpr A(): i(0) { }
8 };
10 struct B
12   A a[4];
15 extern const B b{};