10 lines
286 B
Plaintext
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)
|