blob: 5b70f94afb09e74c845895b11306b8d8287d5b5c [file] [edit]
! Testing the Semantics of tile
!RUN: %python %S/../test_errors.py %s %flang -fopenmp -fopenmp-version=51
subroutine on_unroll
implicit none
integer i
!ERROR: OpenMP loop construct cannot apply to a fully unrolled loop
!$omp tile sizes(2)
!$omp unroll
do i = 1, 5
print *, i
end do
end subroutine