Sign in
llvm
/
llvm-project
/
compiler-rt
/
bf691c10e0b54d59151742b2be96128f524244a0
/
.
/
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
;
}