brintos

brintos / llvm-project-archived public Read only

0
0
Text · 381 B · 1e0a8a6 Raw
14 lines · plain
1! RUN: %python %S/../test_errors.py %s %flang -fopenmp2! OpenMP Version 4.53! 2.7.1 Schedule Clause4program omp_doSchedule5  integer :: i,n6  real ::  a(100), y(100), z(100)7  !ERROR: The chunk size of the SCHEDULE clause must be a positive integer expression8  !$omp do schedule(static, -1)9  do i=2,n+110    y(i) = z(i-1) + a(i)11  end do12  !$omp end do13end program omp_doSchedule14