1 // Test that we can include header with TSan atomic interface.
2 // RUN: %clang_tsan %s -o %t && %run %t 2>&1 | FileCheck %s
3 #include <sanitizer/tsan_interface_atomic.h>
8 __tsan_atomic32_store(&a
, 100, __tsan_memory_order_release
);
9 int res
= __tsan_atomic32_load(&a
, __tsan_memory_order_acquire
);
12 fprintf(stderr
, "PASS\n");