2 C Test the fix for PR35698, in which the negative size dimension would
3 C throw out the subsequent bounds.
5 C Contributed by Dick Hendrickson <dick.hendrickson@gmail.com>
11 SUBROUTINE LF0030
(nf10
)
14 LOGICAL LLA
(:,:,:,:,:,:,:)
19 ALLOCATE
(LLA
(2:3, 4, 0:5,
25 C CORRECT FOR THE ZERO DIMENSIONED TERM TO ALLOW AN EASIER VERIFY
26 ILA1
(4) = ILA1
(4) - 2 ! 1 - 2 = -1
27 ILA2
(4) = ILA2
(4) + 6 ! 0 + 6 = 6
31 IF (ILA1
(J1
) .NE
. IVAL
) STOP 1
36 IF (ILA2
(J1
) .NE
. IVAL
) STOP 2