Files
pplus-library/pseudo/prover/for-sized-counter.pseudo
T
alexm 568474d52f
Test (in pplus-core) / in-core (push) Failing after 28m44s
Initial commit
2026-11-12 22:23:48 -05:00

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