3 ! We used to not determine the length of character-valued expressions
4 ! correctly, leading to a segfault.
6 character(len
=2), target
:: c(4)
8 character(len
=2), pointer :: els(:)
10 type (pseudo_upf
) :: p
16 c
= (/"ab","cd","ef","gh"/)
18 if (any (c
/= p
%els
)) call abort
19 ! An array section that needs a new array descriptor.
26 type (pseudo_upf
), intent(inout
) :: upf
32 character(len
=*) :: s(:)
33 if ((len (s
) .ne
. 5) .or
. (any (s
.ne
. (/"hello", "world"/)))) call abort