3 ! Test the fix for PRs 96100 and 96101.
5 ! Contributed by Gerhardt Steinmetz <gscfq@t-online.de>
9 character(:), allocatable
:: c(:)
12 character(:), allocatable
:: w
15 allocate(x
%c(2), source
= 'def')
16 associate (y
=> [x
%c(1:1)]) ! ICE
21 associate (y
=> ([w(:)]))