5 ! Contributed by Vladimir Fuka
7 ! The passing of a CLASS(*) to a CLASS(*) was reject before
11 class(*),allocatable
:: item
13 procedure
:: move_alloc
=> list_move_alloc
18 subroutine list_move_alloc(self
,item
)
19 class(list_node
),intent(inout
) :: self
20 class(*),intent(inout
),allocatable
:: item
22 call move_alloc(item
, self
%item
)
27 use gen_lists
, only
: node
=> list_node
35 class(*), allocatable
, intent(out
) :: ast
36 class(*), allocatable
:: expr
41 call ast
%move_alloc(expr
)