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 must come
5 ! strictly before any atomic directives on which the memory_order clause is not
15 !ERROR: REQUIRES directive with 'ATOMIC_DEFAULT_MEM_ORDER' clause found lexically after atomic operation without a memory order clause
16 !$omp requires atomic_default_mem_order(relaxed)