2 ! PR fortran/100892 - procedure pointer to function returning array of size n
6 procedure(func1
), pointer :: my_ptr
=> null()
9 if (associated (my_ptr
, func1
)) print *,'associated'
10 end subroutine test_sub
12 integer, intent(in
) :: n
13 real, dimension(n
) :: func1