Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / compiler-rt / test / msan / sync_lock_set_and_test.cpp
blob11fd14fae0f1bf824e6134d4f367a837906f0382
1 // RUN: %clangxx_msan -O0 %s -o %t && %run %t
3 int main(void) {
4 int i;
5 __sync_lock_test_and_set(&i, 0);
6 return i;