3 ! PR 54285: [F03] Calling a PPC with proc-ptr result
5 ! Contributed by Janus Weil <janus@gcc.gnu.org>
8 procedure(a
), pointer, nopass
:: p
13 ! We cannot use "iabs" directly as it is elemental.
15 pure
integer function interf_iabs(x
)
16 integer, intent(in
) :: x
17 end function interf_iabs
19 procedure(interf_iabs
), pointer :: pp
25 if (pp(-3) /= 3) call abort
29 function a() result (b
)
30 procedure(interf_iabs
), pointer :: b