1 ! RUN: %S/test_errors.sh %s %t %flang_fc1 -fopenmp
4 ! 2.15.3.6 Reduction Clause
10 integer :: a(10), b(10,10,10)
12 !ERROR: A list item that appears in a REDUCTION clause should have a contiguous storage array section.
13 !$omp parallel do reduction(+:a(1:10:3))
19 !ERROR: A list item that appears in a REDUCTION clause should have a contiguous storage array section.
20 !$omp parallel do reduction(+:b(1:10:3,1:8:1,1:5:1))
26 !ERROR: A list item that appears in a REDUCTION clause should have a contiguous storage array section.
27 !$omp parallel do reduction(+:b(1:10:1,1:8:2,1:5:1))
32 end program omp_reduction