3 ! Test the fix for PR86328 in which temporaries were not being
4 ! assigned for array component references.
6 ! Contributed by Martin <mscfd@gmx.net>
11 class(*), allocatable
:: val
15 type(t
), dimension(:), pointer :: ll
23 allocate(a
%ll(i
)%val
, source
=i
)
31 deallocate(a
%ll(i
)%val
)
37 type(list
), intent(in
) :: a
38 class(*), allocatable
:: c
41 allocate(c
, source
=a
%ll(i
)%val
)