// RUN: %clangxx_msan -m64 -O0 %s -o %t && %t

int main(void) {
  int i;
  __sync_lock_test_and_set(&i, 0);
  return i;
}

Test for atomic handling in MSan.
[msan] Test for atomic handling in MSan.


git-svn-id: c199f293c43da69278bea8e88f92242bf3aa95f7@191288 91177308-0d34-0410-b5e6-96231b3b80d8
