1 function foo (x
, y
) result (z
)
2 !$omp requires atomic_default_mem_order(release)
12 !$omp atomic read ! { dg-error "!.OMP ATOMIC READ at .1. incompatible with RELEASE clause implicitly provided by a REQUIRES directive" }
16 function bar (a
, b
) result (c
)
17 !$omp requires atomic_default_mem_order(acquire)
21 !$omp atomic write ! { dg-error "!.OMP ATOMIC WRITE at .1. incompatible with ACQUIRES clause implicitly provided by a REQUIRES directive" }