summaryrefslogtreecommitdiff
path: root/Test/civl/termination2.bpl
diff options
context:
space:
mode:
Diffstat (limited to 'Test/civl/termination2.bpl')
-rw-r--r--Test/civl/termination2.bpl38
1 files changed, 19 insertions, 19 deletions
diff --git a/Test/civl/termination2.bpl b/Test/civl/termination2.bpl
index 840c27c1..1743c6a1 100644
--- a/Test/civl/termination2.bpl
+++ b/Test/civl/termination2.bpl
@@ -1,19 +1,19 @@
-// RUN: %boogie -noinfer -typeEncoding:m -useArrayTheory "%s" > "%t"
-// RUN: %diff "%s.expect" "%t"
-procedure {:yields} {:layer 0} X();
-ensures {:atomic} |{ A: return true; }|;
-
-procedure {:yields} {:layer 0} Y();
-ensures {:left} |{ A: return true; }|;
-
-procedure {:yields} {:layer 1} main() {
- yield;
- call X();
- while (*)
- invariant {:terminates} {:layer 1} true;
- {
- call Y();
- }
- yield;
- assert {:layer 1} true;
-}
+// RUN: %boogie -noinfer -typeEncoding:m -useArrayTheory "%s" > "%t"
+// RUN: %diff "%s.expect" "%t"
+procedure {:yields} {:layer 0} X();
+ensures {:atomic} |{ A: return true; }|;
+
+procedure {:yields} {:layer 0} Y();
+ensures {:left} |{ A: return true; }|;
+
+procedure {:yields} {:layer 1} main() {
+ yield;
+ call X();
+ while (*)
+ invariant {:terminates} {:layer 1} true;
+ {
+ call Y();
+ }
+ yield;
+ assert {:layer 1} true;
+}