This commit is contained in:
commit
568474d52f
1591 files changed
+528213
No files matched your search
@@ -0,0 +1,10 @@
|
||||
// M is empty, so the loop makes no pass. Its INVARIANT was never checked in
|
||||
// a run, and the checker assumed it on the way out all the same.
|
||||
// The run now checks it once more when the loop ends, and stops.
|
||||
// RUN-STOPS: invariant@7
|
||||
DECLARE M : LIST OF INTEGER
|
||||
FOR EACH E IN M
|
||||
INVARIANT 1 == 2
|
||||
OUTPUT E
|
||||
NEXT E
|
||||
ASSERT 1 == 2
|
||||
Reference in new issue
Block a user