Sign in
cobalt
/
cobalt
/
72bde07ae3f88e8fd742a603ece725b122de47f5
/
.
/
src
/
third_party
/
llvm-project
/
compiler-rt
/
test
/
msan
/
sync_lock_set_and_test.cc
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
;
}