1 ! RUN: %python %S/../test_errors.py %s %flang_fc1 -fopenmp
3 ! 2.15.3.6 Reduction Clause
10 !ERROR: 'k' appears in more than one data-sharing clause on the same OpenMP directive
11 !$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)
26 !ERROR: 'k' appears in more than one data-sharing clause on the same OpenMP directive
27 !$omp parallel do reduction(+:j), reduction(*:k), reduction(+:k)
35 !ERROR: 'k' appears in more than one data-sharing clause on the same OpenMP directive
36 !$omp parallel do reduction(+:j), reduction(*:k), private(k)
43 end program omp_reduction