Sign in
gnu
/
gcc
/
refs/heads/devel/c++-contracts
/
.
/
gcc
/
testsuite
/
g++.dg
/
init
/
static-init3.C
blob: 9f89c3119b3d5a9c0092119858c8acc76bd69451 [
file
] [
log
] [
blame
]
// PR c++/55137
// s should have constant initialization.
// { dg-final { scan-assembler-not "GLOBAL" } }
struct
S
{
int
b
;
};
struct
S s
=
{
-
1
+
(
int
)(
sizeof
(
int
)
-
1
)
};