Sign in
llvm
/
llvm-project
/
compiler-rt
/
87678e24e760becc55c46ddd96577db14f207301
/
.
/
test
/
msan
/
sync_lock_set_and_test.cpp
blob: 11fd14fae0f1bf824e6134d4f367a837906f0382 [
file
] [
log
] [
blame
]
// RUN: %clangxx_msan -O0 %s -o %t && %run %t
int
main
(
void
)
{
int
i
;
__sync_lock_test_and_set
(&
i
,
0
);
return
i
;
}