1 ! RUN: %python %S/../test_errors.py %s %flang -fopenmp
3 ! 2.4 Requires directive
4 ! All atomic_default_mem_order clauses in 'requires' directives found within a
5 ! compilation unit must specify the same ordering.
8 !$omp requires atomic_default_mem_order(seq_cst)
11 !ERROR: Conflicting 'ATOMIC_DEFAULT_MEM_ORDER' REQUIRES clauses found in compilation unit
13 !$omp requires atomic_default_mem_order(relaxed)