1 ! RUN: %S/test_errors.sh %s %t %flang_fc1 -fopenmp
4 ! 2.15.3.6 Reduction Clause
6 subroutine omp_target(p
)
7 integer, pointer, intent(in
) :: p
12 !ERROR: Pointer 'p' with the INTENT(IN) attribute may not appear in a REDUCTION clause
13 !$omp parallel do reduction(+:p)
19 end subroutine omp_target