3 ! PR 45521: [F08] GENERIC resolution with ALLOCATABLE/POINTER and PROCEDURE
5 ! Contributed by Janus Weil <janus@gcc.gnu.org>
7 module inteface_assignment_6
12 ! this was rejected as ambiguous, but is valid in F08
13 interface assignment(=)
20 subroutine testAlloc(obj
, val
)
21 type(t
), allocatable
, intent(out
) :: obj
22 integer, intent(in
) :: val
25 subroutine testPtr(obj
, val
)
26 type(t
), pointer, intent(out
) :: obj
27 integer, intent(in
) :: val