3 ! PR 56968: [4.7/4.8/4.9 Regression] [F03] Issue with a procedure defined with a generic name returning procedure pointer
5 ! Contributed by Samuel Debionne <samuel.debionne@ujf-grenoble.fr>
9 interface generic_name_get_proc_ptr
10 module procedure specific_name_get_proc_ptr
14 double precision function foo(arg1
)
15 real, intent(in
) :: arg1
21 function specific_name_get_proc_ptr() result(res
)
22 procedure(foo
), pointer :: res
30 procedure(foo
), pointer :: ptr
32 ptr
=> specific_name_get_proc_ptr()
33 ptr
=> generic_name_get_proc_ptr()