1 ! RUN: %S/test_errors.sh %s %t %flang -fopenmp
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