repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git]
/
compiler-rt
/
test
/
msan
/
sync_lock_set_and_test.cpp
blob
11fd14fae0f1bf824e6134d4f367a837906f0382
1
// RUN: %clangxx_msan -O0 %s -o %t && %run %t
2
3
int
main
(
void
) {
4
int
i
;
5
__sync_lock_test_and_set
(&
i
,
0
);
6
return
i
;
7
}