Break circular dependency between FIR dialect and utilities
[llvm-project.git] / flang / test / Lower / OpenMP / Todo / omp-declare-reduction.f90
blob3be61a1700ced359cfe1e30e89e5dc2c67f8993d
1 ! This test checks lowering of OpenMP declare reduction Directive.
3 // RUN: not flang-new -fc1 -emit-fir -fopenmp %s 2>&1 | FileCheck %s
5 subroutine declare_red()
6 integer :: my_var
7 // CHECK: not yet implemented: OpenMPDeclareReductionConstruct
8 !$omp declare reduction (my_red : integer : omp_out = omp_in) initializer (omp_priv = 0)
9 my_var = 0
10 end subroutine declare_red