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

Provided by KDAB

Privacy Policy
Improve your Profiling and Debugging skills
Find out more

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