blob: 9b7b8e97f6e055b140c1063898b69337a509653e [file] [log] [blame]
! Check that nested DO loop doesn't affect refactoring
! behavior. Select outer DO loop - DOUBLE data type
! and increment behavior - explicit step count.
PROGRAM NestedDoDoubleOuterIncrement
DOUBLE PRECISION :: counter, sum, counterin, sumin
sum = 0.0
sumin = 0.0
DO counter = 1.2, 1.8, 0.1 !<<<<< 9, 3, 9, 29, 0, pass
sum = sum + counter
DO counterin = 1.2, 1.8, 0.1
sumin = sumin + counterin
END DO
END DO
PRINT *, sum
END PROGRAM NestedDoDoubleOuterIncrement