Initial commit
Test (in pplus-core) / in-core (push) Failing after 28m44s

This commit is contained in:
alexm committed 2026-11-12 22:23:48 -05:00
commit 568474d52f
1591 files changed
+528213

No files matched your search

+12
View File
@@ -0,0 +1,12 @@
// The run checks DECREASES >= 0 on every call, the first one too. No
// obligation covers that check, so a unit with everything proved still stops.
// MUST-NOT-PROVE: decreases-bound@5
FUNCTION F(N : INTEGER) RETURNS INTEGER
DECREASES N
IF N <= 0 THEN
RETURN 0
ENDIF
RETURN F(N - 1)
ENDFUNCTION
OUTPUT F(-5)