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