Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
asan
/
pr77396-2.C
blob: 0570a14940eda034bf262b2fd97da22288d39f6b [
file
] [
log
] [
blame
]
// PR sanitizer/77396
// { dg-do run }
// { dg-set-target-env-var ASAN_OPTIONS "check_initialization_order=true" }
struct
S
{
S
()
{
asm
volatile
(
""
:
:
:
"memory"
);
}
};
static
S c
;
int
main
()
{
return
0
;
}