This commit is contained in:
commit
568474d52f
1591 files changed
+528213
No files matched your search
@@ -0,0 +1,10 @@
|
||||
// A REPEAT loop's INVARIANT is checked once more after the last pass. The
|
||||
// checker has no obligation for that check: "kept" covers only passes that repeat.
|
||||
// MUST-NOT-PROVE: invariant-keep@7
|
||||
DECLARE X : INTEGER
|
||||
X <- 0
|
||||
REPEAT
|
||||
INVARIANT X == 0
|
||||
X <- 1
|
||||
UNTIL X == 1
|
||||
OUTPUT X
|
||||
Reference in new issue
Block a user