3 ! Test the fix for PR86372 in which the associate name string length was
4 ! not being set, thereby causing a segfault.
6 ! Contributed by Janus Weil <janus@gcc.gnu.org>
10 character(len
=50) :: s
12 s
= repeat ('*', len(s
))
14 if (s
.ne
. '**'//'123'//repeat ('*', len(s
) - 5)) stop 1
19 character(len
=*), intent(inout
) :: str
20 associate (substr
=> str(3:5))