1 ! RUN: %python %S/../test_errors.py %s %flang_fc1 %openmp_flags
5 ! 2.9.2 taskloop Construct
6 ! All loops associated with the taskloop construct must be perfectly nested,
7 ! there must be no intervening code or any OpenMP directive between
13 !$omp taskloop private(j) grainsize(500) nogroup
18 !ERROR: Loops associated with !$omp taskloop is not perfectly nested
25 end program omp_taskloop