This commit is contained in:
commit
568474d52f
1591 files changed
+528213
No files matched your search
@@ -0,0 +1,10 @@
|
||||
// A FOR counter declared INT8 holds only what INT8 holds: the run checks it at
|
||||
// the top of each pass and stops here when NEXT takes it to 128. No obligation
|
||||
// covered that check, so a unit with everything proved still stopped.
|
||||
// MUST-NOT-PROVE: overflow@7
|
||||
DECLARE I : INT8
|
||||
DECLARE N : INTEGER <- 0
|
||||
FOR I <- 120 TO 130
|
||||
N <- N + 1
|
||||
NEXT I
|
||||
OUTPUT N
|
||||
Reference in new issue
Block a user