3 ! PROCEDURE POINTERS as actual/formal arguments
5 ! Contributed by Janus Weil <janus@gcc.gnu.org>
8 INTEGER, INTENT(OUT
) :: j
14 PROCEDURE(),POINTER :: ptr1
15 PROCEDURE(REAL),POINTER :: ptr2
21 if (k
/= 6) call abort()
24 if (ptr2(-3.0) /= 3.0) call abort()
29 PROCEDURE(),POINTER,INTENT(IN
) :: p
30 INTEGER, INTENT(OUT
) :: i
35 PROCEDURE(REAL),POINTER,INTENT(OUT
) :: p