Debian Codegraph @

gcc/testsuite/g++.dg/init/static-init3.C

raw
1 // PR c++/55137
2 // s should have constant initialization.
3 // { dg-final { scan-assembler-not "GLOBAL" } }
4
5 struct S {
6 int b;
7 };
8
9 struct S s = { -1 + (int)(sizeof(int) - 1) };