1 ! RUN: not %flang -fsyntax-only -fopenmp %s 2>&1 | FileCheck %s
3 ! 2.9.2 taskloop Construct
4 ! Invalid entry to OpenMP structured block.
9 !CHECK: invalid branch into an OpenMP structured block
12 !$omp taskloop private(j) grainsize(500) nogroup
15 !CHECK: In the enclosing TASKLOOP directive branched into
16 10 call loop_body(i
, j
)
21 end program omp_taskloop