27 lines · plain
1! Testing the Semantics of tile2!RUN: %python %S/../test_errors.py %s %flang -fopenmp -fopenmp-version=513 4 5subroutine missing_sizes6 implicit none7 integer i8 9 !ERROR: At least one of SIZES clause must appear on the TILE directive10 !$omp tile11 do i = 1, 4212 print *, i13 end do14end subroutine15 16 17subroutine double_sizes18 implicit none19 integer i20 21 !ERROR: At most one SIZES clause can appear on the TILE directive22 !$omp tile sizes(2) sizes(2)23 do i = 1, 524 print *, i25 end do26end subroutine27