3 ! Substrings of allocatable string components of derived types
4 program substr_derived_alloc_comp
8 character(len
=:), allocatable
:: s
11 character(len
=*), parameter :: c
= &
12 "0123456789abcdefghijklmnopqrstuvwxyz"
21 if (x1
%s(i
:) .ne
. c(i
:)) STOP 1