flang/test/Semantics/OpenMP/reduction13.f90
raw| 1 | ! RUN: %python %S/../test_errors.py %s %flang_fc1 -fopenmp |
| 2 | ! OpenMP Version 4.5 |
| 3 | ! 2.15.3.6 Reduction Clause |
| 4 | program omp_reduction |
| 5 | integer :: k |
| 6 | ! misspelling. Should be "min" |
| 7 | !ERROR: Invalid reduction operator in REDUCTION clause. |
| 8 | !$omp parallel reduction(.min.:k) |
| 9 | !$omp end parallel |
| 10 | end program omp_reduction |