3 ! Test the fix for PR88980 in which the 'span' field if the descriptor
4 ! for 'Items' was not set, causing the assignment to segfault.
6 ! Contributed by Antony Lewis <antony@cosmologist.info>
13 character(LEN
=:), allocatable
:: Name
16 type TNameValue_pointer
17 Type(TNameValue
), allocatable
:: P
18 end type TNameValue_pointer
21 type(TNameValue_pointer
), dimension(:), allocatable
:: Items
26 allocate(T
%Items(2)%P
)
27 T
%Items(2)%P
%Name
= 'test'
28 if (T
%Items(2)%P
%Name
.ne
. 'test') stop 1