1 ! RUN: %S/test_errors.sh %s %t %flang_fc1 -fopenmp
4 ! 2.15.3.6 Reduction Clause
11 !ERROR: 'k' appears in more than one data-sharing clause on the same OpenMP directive
12 !$omp parallel do reduction(+:k), reduction(-:k)
18 !ERROR: 'k' appears in more than one data-sharing clause on the same OpenMP directive
19 !$omp parallel do reduction(+:k), reduction(-:j), reduction(+:k)
25 !ERROR: 'k' appears in more than one data-sharing clause on the same OpenMP directive
26 !$omp parallel do reduction(+:j), reduction(-:k), reduction(+:k)
32 !ERROR: 'k' appears in more than one data-sharing clause on the same OpenMP directive
33 !$omp parallel do reduction(+:j), reduction(-:k), private(k)
38 end program omp_reduction