3 ! Test the fix for PR56691 comment #7 (and comment #0).
5 ! Reduced from the original of Marco Restelli <mrestelli@gmail.com>
6 ! by Janus Weil <janus@gcc.gnu.org>
15 class(t_stv), intent(in) :: y(:)
18 if (int(y(k)%f1) .ne. k) STOP 1
27 type(t_stv), allocatable :: work(:)
30 work(:)%f1 = (/ 1.,2.,3.,4./)
33 call lcb(work(:4)) ! Indexing used to be offset by 1.