Files
alexm 568474d52f
Test (in pplus-core) / in-core (push) Failing after 28m44s
Initial commit
2026-11-12 22:23:48 -05:00

10 lines
286 B
Plaintext

// FILL stops the program on a negative count, so the call is an
// obligation, not a fact the checker may assume.
// MUST-NOT-PROVE: argument@6
FUNCTION F(N : INTEGER) RETURNS INTEGER
DECLARE Xs : LIST OF INTEGER
Xs <- FILL(N, 0)
RETURN LENGTH(Xs)
ENDFUNCTION
OUTPUT F(-1)