3 ! Tests the fix for PRs 78013 and 61420, both of which gave a
4 ! no IMPLICIT type message for the procedure pointer at assignment.
11 function I_f() result( r
)
18 procedure(I_f
), nopass
, pointer :: m_f
=> null()
21 procedure
, pass(this
), public
:: f
=> get_f
26 function get_f( this
) result( f_ptr
) ! Error message here.
27 class(a_t
), intent(in
) :: this
28 procedure(I_f
), pointer :: f_ptr
29 f_ptr
=> this
%m_f
! Error here :-)
39 procedure
, nopass
:: get_pf
=> get_it
! Error here
42 class(functions
), allocatable
:: f
46 function get_it() ! Error message here.
47 procedure (real), pointer :: get_it