2 ! Tests fix for PR61780 in which the loop reversal mechanism was
3 ! not accounting for the first index being an element so that no
4 ! loop in this dimension is created.
6 ! Contributed by Manfred Tietze on clf.
10 integer, parameter :: n
= 10, k
= 3
12 integer, dimension(n
,n
) :: y
13 integer :: res1(n
), res2(n
)
30 y(k
,n
:4:-1) = y(k
,n
-1:3:-1)
35 if (any(res1
/= res2
)) call abort ()