3 ! PR 64508: [F03] interface check missing for procedure pointer component as actual argument
5 ! Contributed by Janus Weil <janus@gcc.gnu.org>
10 TYPE, EXTENDS(parent
) :: extension
11 procedure(extension_proc
), pointer :: ppc
14 CLASS(extension
), ALLOCATABLE
:: x
15 CALL some_proc(x
%ppc
) ! { dg-error "Interface mismatch in dummy procedure" }
19 SUBROUTINE parent_proc(arg
)
20 CLASS(parent
), INTENT(IN
) :: arg
23 SUBROUTINE extension_proc(arg
)
24 CLASS(extension
), INTENT(IN
) :: arg
28 SUBROUTINE some_proc(proc
)
29 PROCEDURE(parent_proc
) :: proc