1 ! RUN: %python %S/../test_errors.py %s %flang_fc1 -fopenmp
3 ! 2.15.3.6 Reduction Clause
9 integer :: a(10), b(10,10,10)
11 !ERROR: A list item that appears in a REDUCTION clause should have a contiguous storage array section.
12 !$omp parallel do reduction(+:a(1:10:3))
18 !ERROR: A list item that appears in a REDUCTION clause should have a contiguous storage array section.
19 !$omp parallel do reduction(+:b(1:10:3,1:8:1,1:5:1))
25 !ERROR: A list item that appears in a REDUCTION clause should have a contiguous storage array section.
26 !$omp parallel do reduction(+:b(1:10:1,1:8:2,1:5:1))
31 end program omp_reduction