blob: 11fd14fae0f1bf824e6134d4f367a837906f0382 [file] [log] [blame]
// RUN: %clangxx_msan -O0 %s -o %t && %run %t
int main(void) {
int i;
__sync_lock_test_and_set(&i, 0);
return i;
}