(root)/
gcc-13.2.0/
gcc/
testsuite/
gfortran.dg/
gomp/
pr102621.f90
! This program used to ICE in convert_nonlocal_reference_op due to
! incorrect scoping of AFFINITY clause iterator variables.

program p
   integer :: a(8)
   !$omp task affinity (iterator(j=1:8) : a(j))
   !$omp end task
contains
   integer function f(x)
      class(*) :: x
   end
end