Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / openmp / libomptarget / test / Inputs / basic_array.f90
blob30fe7c8c0ef4862ba20b59f252cd3bfbd2c500da
1 subroutine increment_at(c_index, arr) bind(C, name="increment_at")
2 use ISO_C_BINDING
3 !$omp declare target
4 integer (C_INT), dimension(*), intent(inout) :: arr
5 integer (C_INT), value :: c_index
6 arr(c_index+1) = arr(c_index+1) + 1
7 end subroutine