1 ! REQUIRES: plugins, examples, shell
3 ! RUN: %flang_fc1 -load %llvmshlibdir/flangOmpReport.so -plugin flang-omp-report -fopenmp %s -o - | FileCheck %s
5 subroutine omp_sections()
7 !$omp sections private(x)
12 !$omp end sections nowait
13 end subroutine omp_sections
15 !CHECK: - file: {{.*}}
17 !CHECK: construct: section
19 !CHECK: - file: {{.*}}
21 !CHECK: construct: section
23 !CHECK: - file: {{.*}}
25 !CHECK: construct: sections
27 !CHECK: - clause: nowait
29 !CHECK: - clause: private