Break circular dependency between FIR dialect and utilities
[llvm-project.git] / flang / test / Semantics / OpenMP / taskloop01.f90
blob6bef584381518fe4d0c417e7b204f3e057bdbeb3
1 ! RUN: %python %S/../test_errors.py %s %flang -fopenmp
2 ! OpenMP Version 4.5
3 ! 2.9.2 taskloop Construct
5 subroutine parallel_work
6 integer i
7 integer j
9 !$omp taskgroup
10 !$omp task
11 call long_running_task()
12 !$omp end task
14 !$omp taskloop private(j) grainsize(500) nogroup
15 do i=1,10000
16 do j=1,i
17 call loop_body(i, j)
18 end do
19 end do
20 !$omp end taskloop
21 !$omp end taskgroup
23 end subroutine parallel_work