11 lines
354 B
Plaintext
11 lines
354 B
Plaintext
// 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
|