PR c++/55137
[official-gcc.git] / gcc / testsuite / g++.dg / init / static-init3.C
blob9f89c3119b3d5a9c0092119858c8acc76bd69451
1 // PR c++/55137
2 // s should have constant initialization.
3 // { dg-final { scan-assembler-not "GLOBAL" } }
5 struct S {
6   int b;
7 };
9 struct S s = { -1 + (int)(sizeof(int) - 1) };