[ASan/Win] Add a comment about DCL-using-static vs threads
[blocksruntime.git] / test / msan / sync_lock_set_and_test.cc
blobb6d344a6134030b3b9ba51dacf1a313689a24e79
1 // RUN: %clangxx_msan -m64 -O0 %s -o %t && %run %t
3 int main(void) {
4 int i;
5 __sync_lock_test_and_set(&i, 0);
6 return i;