Debian Codegraph @

gcc/testsuite/gcc.dg/tsan/atomic-fence.c

raw
1 /* PR sanitizer/97868 */
2 /* { dg-do compile } */
3 /* { dg-options "-fsanitize=thread" } */
4
5 int
6 main ()
7 {
8 __atomic_thread_fence (__ATOMIC_RELAXED); /* { dg-warning ".atomic_thread_fence. is not supported with .-fsanitize=thread." } */
9 return 0;
10 }
11