Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
gcc.dg
/
tsan
/
atomic-fence.c
blob: 013720c2969ac57d94b477933ddfe49569fe6cfc [
file
] [
log
] [
blame
]
/* PR sanitizer/97868 */
/* { dg-do compile } */
/* { dg-options "-fsanitize=thread" } */
int
main
()
{
__atomic_thread_fence
(
__ATOMIC_RELAXED
);
/* { dg-warning ".atomic_thread_fence. is not supported with .-fsanitize=thread." } */
return
0
;
}