☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
gcc.dg
/
tsan
/
atomic-fence.c
☽
☼
gcc/testsuite/gcc.dg/tsan/atomic-fence.c
code
plain
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