1 ! RUN: %python %S/../test_errors.py %s %flang -fopenmp
3 ! This tests the various semantics related to the clauses of various OpenMP atomic constructs
9 !ERROR: More than one memory order clause not allowed on OpenMP Atomic construct
10 !$omp atomic relaxed, seq_cst
12 !ERROR: More than one memory order clause not allowed on OpenMP Atomic construct
13 !$omp atomic read seq_cst, relaxed
15 !ERROR: More than one memory order clause not allowed on OpenMP Atomic construct
16 !$omp atomic write relaxed, release
18 !ERROR: More than one memory order clause not allowed on OpenMP Atomic construct
19 !$omp atomic update release, seq_cst
21 !ERROR: More than one memory order clause not allowed on OpenMP Atomic construct
22 !$omp atomic capture release, seq_cst