16 lines · plain
1! Testing the Semantics of tile2!RUN: %python %S/../test_errors.py %s %flang -fopenmp -fopenmp-version=513 4 5subroutine on_unroll6 implicit none7 integer i8 9 !ERROR: OpenMP loop construct cannot apply to a fully unrolled loop10 !$omp tile sizes(2)11 !$omp unroll12 do i = 1, 513 print *, i14 end do15end subroutine16