flang/test/Lower/OpenMP/Todo/reduction-teams.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: Unhandled clause REDUCTION in TEAMS construct |
| 5 | subroutine reduction_teams() |
| 6 | integer :: i |
| 7 | i = 0 |
| 8 | |
| 9 | !$omp teams reduction(+:i) |
| 10 | i = i + 1 |
| 11 | !$omp end teams |
| 12 | end subroutine reduction_teams |