3 ! Test the fix for PR104555 in which the select type statement caused an
4 ! ICE because the selector expression was type(t) rather than class(t).
6 ! Contributed by Gerhard Steinmetz <gscfq@t-online.de>
10 character(:), allocatable
:: a
19 print *, "|", x
%a
, "|"
22 print *, "|", y
%a
, "|"
25 print *, "|", x(1)%a
, "|"
28 print *, "|", y(1)%a
, "|"