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' in REDUCTION clause is a zero size array section
12 !$omp parallel do reduction(+:a(1:0:2))
18 !ERROR: 'a' in REDUCTION clause is a zero size array section
19 !$omp parallel do reduction(+:a(1:0))
25 !ERROR: 'b' in REDUCTION clause is a zero size array section
26 !$omp parallel do reduction(+:b(1:6,5,1:0))
32 !ERROR: 'b' in REDUCTION clause is a zero size array section
33 !$omp parallel do reduction(+:b(1:6,1:0:5,1:10))
38 end program omp_reduction