aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/algol68/execute/loop-12.a68
blob: ffd34a5945a16d143ae617a9a439821c8976cead (plain)
1
2
3
4
5
# { dg-options "-fstropping=upper" }  #
BEGIN INT i := 0, n := 5;
      FOR a TO n WHILE a < 3 DO i +:= 1 OD;
      ASSERT (i = 2)
END