[clangd] Re-land "support outgoing calls in call hierarchy" (#117673)
[llvm-project.git] / flang / test / Semantics / OpenMP / requires09.f90
blob2fa5d950b9c2d8ad8a5636acb25d9b68f24f1349
1 ! RUN: %python %S/../test_errors.py %s %flang -fopenmp
2 ! OpenMP Version 5.0
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.
7 subroutine f
8 !$omp requires atomic_default_mem_order(seq_cst)
9 end subroutine f
11 !ERROR: Conflicting 'ATOMIC_DEFAULT_MEM_ORDER' REQUIRES clauses found in compilation unit
12 subroutine g
13 !$omp requires atomic_default_mem_order(relaxed)
14 end subroutine g