1 ! RUN: %python %S/../test_errors.py %s %flang_fc1 -fopenmp
3 ! OpenMP 5.2: Section 5.5.5 : A procedure pointer must not appear in a
6 procedure(foo
), pointer :: ptr
9 !ERROR: A procedure pointer 'ptr' must not appear in a REDUCTION clause.
10 !$omp do reduction (+ : ptr)