sync_lock_set_and_test.cpp 122 Bytes Raw Blame History Permalink 1 2 3 4 5 6 7 // RUN: %clangxx_msan -O0 %s -o %t && %run %t int main(void) { int i; __sync_lock_test_and_set(&i, 0); return i; }