llvm-capstone/compiler-rt/test/msan/sync_lock_set_and_test.cc
Greg Fitzgerald b8aae5405b Add %run to all lit tests
llvm-svn: 207709
2014-04-30 21:34:17 +00:00

8 lines
127 B
C++

// RUN: %clangxx_msan -m64 -O0 %s -o %t && %run %t
int main(void) {
int i;
__sync_lock_test_and_set(&i, 0);
return i;
}