31 lines · plain
1! REQUIRES: plugins, examples, shell2 3! RUN: %flang_fc1 -load %llvmshlibdir/flangOmpReport%pluginext -plugin flang-omp-report -fopenmp %s -o - | FileCheck %s4 5subroutine omp_sections()6 integer :: x7 !$omp sections private(x)8 !$omp section9 call f1()10 !$omp section11 call f2()12 !$omp end sections nowait13end subroutine omp_sections14 15!CHECK: - file: {{.*}}16!CHECK: line: 817!CHECK: construct: section18!CHECK: clauses: []19!CHECK: - file: {{.*}}20!CHECK: line: 1021!CHECK: construct: section22!CHECK: clauses: []23!CHECK: - file: {{.*}}24!CHECK: line: 725!CHECK: construct: sections26!CHECK: clauses:27!CHECK: - clause: nowait28!CHECK: details: ''29!CHECK: - clause: private30!CHECK: details: x31