flang/test/Lower/OpenMP/Todo/reduction-modifiers.f90
raw| 1 | ! RUN: %not_todo_cmd bbc -emit-fir -fopenmp -o - %s 2>&1 | FileCheck %s |
| 2 | ! RUN: %not_todo_cmd %flang_fc1 -emit-fir -fopenmp -o - %s 2>&1 | FileCheck %s |
| 3 | |
| 4 | ! CHECK: not yet implemented: Reduction modifiers are not supported |
| 5 | |
| 6 | subroutine foo() |
| 7 | integer :: i, j |
| 8 | j = 0 |
| 9 | !$omp do reduction (inscan, *: j) |
| 10 | do i = 1, 10 |
| 11 | j = j + 1 |
| 12 | end do |
| 13 | end subroutine |