1 ! REQUIRES: plugins, examples, shell
3 ! RUN: %flang_fc1 -load %llvmshlibdir/flangOmpReport.so -plugin flang-omp-report -fopenmp -fopenmp-version=50 %s -o - | FileCheck %s
5 ! Check for ORDER([order-modifier :]concurrent) clause on OpenMP constructs
7 subroutine test_order()
9 !$omp do order(concurrent)
16 !CHECK: - file: {{.*}}
20 !CHECK: - clause: order
21 !CHECK: details: concurrent
23 subroutine test_order_reproducible()
25 !$omp simd order(reproducible:concurrent)
32 !CHECK: - file: {{.*}}
34 !CHECK: construct: simd
36 !CHECK: - clause: order
37 !CHECK: details: 'reproducible:concurrent'
39 subroutine test_order_unconstrained()
41 !$omp target teams distribute parallel do simd order(unconstrained:concurrent)
45 !$omp end target teams distribute parallel do simd
48 !CHECK: - file: {{.*}}
50 !CHECK: construct: target teams distribute parallel do simd
52 !CHECK: - clause: order
53 !CHECK: details: 'unconstrained:concurrent'