1// RUN: %clangxx_msan -O0 %s -o %t && %run %t
2
3int main(void) {
4 int i;
5 __sync_lock_test_and_set(&i, 0);
6 return i;
7}
8

source code of compiler-rt/test/msan/sync_lock_set_and_test.cpp