aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/algol68/execute/loop-6.a68
blob: 216a5643aec32b90429db989515c80b07284a1b3 (plain)
1
2
3
4
5
6
7
# { dg-options "-fstropping=upper" }  #
# The range of the while-part shall cover the do-part.  #
BEGIN INT i := 0;
      WHILE INT incr = 2; i < 10
      DO i +:= incr OD;
      ASSERT (i = 10)
END