3 ! PR 41139: [4.5 Regression] a procedure pointer call as actual argument
5 ! Contributed by Janus Weil <janus@gcc.gnu.org>
10 PROCEDURE(add
), POINTER, nopass
:: f
16 g
=greater(4.,o
%f(1.,2.))
17 if (.not
. g
) call abort()
21 REAL FUNCTION add(x
,y
)
22 REAL, INTENT(in
) :: x
,y
26 LOGICAL FUNCTION greater(x
,y
)
27 REAL, INTENT(in
) :: x
, y
28 print *,"greater:",x
,y