☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
init
/
static-init3.C
☽
☼
gcc/testsuite/g++.dg/init/static-init3.C
code
plain
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) };