summaryrefslogtreecommitdiff
path: root/Test/test2/InvariantVerifiedUnder0.bpl
diff options
context:
space:
mode:
Diffstat (limited to 'Test/test2/InvariantVerifiedUnder0.bpl')
-rw-r--r--Test/test2/InvariantVerifiedUnder0.bpl108
1 files changed, 54 insertions, 54 deletions
diff --git a/Test/test2/InvariantVerifiedUnder0.bpl b/Test/test2/InvariantVerifiedUnder0.bpl
index 6cade5a5..dc8e0d4a 100644
--- a/Test/test2/InvariantVerifiedUnder0.bpl
+++ b/Test/test2/InvariantVerifiedUnder0.bpl
@@ -1,54 +1,54 @@
-// RUN: %boogie -noinfer "%s" > "%t"
-// RUN: %diff "%s.expect" "%t"
-
-procedure Test0()
-{
- while (*)
- invariant {:verified_under false} false; // error
- {}
-}
-
-
-procedure Test1()
-{
- while (*)
- invariant {:verified_under true} false;
- {}
-}
-
-
-procedure Test2(P: bool, Q: bool, A: bool)
-{
- while (*)
- invariant {:verified_under A} P; // error
- invariant {:verified_under A} Q; // error
- {}
-}
-
-
-procedure Test3(P: bool, Q: bool, A: bool)
- requires !A ==> P;
-{
- while (*)
- invariant {:verified_under A} P;
- invariant {:verified_under A} Q; // error
- {}
-}
-
-procedure Test4(P: bool, Q: bool, A: bool)
-{
- while (*)
- invariant {:verified_under A} {:verified_under true} P; // error
- invariant {:verified_under A} {:verified_under true} Q; // error
- {}
-}
-
-
-procedure Test5(P: bool, Q: bool, A: bool)
- requires !A ==> Q;
-{
- while (*)
- invariant {:verified_under A} {:verified_under true} P; // error
- invariant {:verified_under A} {:verified_under true} Q;
- {}
-}
+// RUN: %boogie -noinfer "%s" > "%t"
+// RUN: %diff "%s.expect" "%t"
+
+procedure Test0()
+{
+ while (*)
+ invariant {:verified_under false} false; // error
+ {}
+}
+
+
+procedure Test1()
+{
+ while (*)
+ invariant {:verified_under true} false;
+ {}
+}
+
+
+procedure Test2(P: bool, Q: bool, A: bool)
+{
+ while (*)
+ invariant {:verified_under A} P; // error
+ invariant {:verified_under A} Q; // error
+ {}
+}
+
+
+procedure Test3(P: bool, Q: bool, A: bool)
+ requires !A ==> P;
+{
+ while (*)
+ invariant {:verified_under A} P;
+ invariant {:verified_under A} Q; // error
+ {}
+}
+
+procedure Test4(P: bool, Q: bool, A: bool)
+{
+ while (*)
+ invariant {:verified_under A} {:verified_under true} P; // error
+ invariant {:verified_under A} {:verified_under true} Q; // error
+ {}
+}
+
+
+procedure Test5(P: bool, Q: bool, A: bool)
+ requires !A ==> Q;
+{
+ while (*)
+ invariant {:verified_under A} {:verified_under true} P; // error
+ invariant {:verified_under A} {:verified_under true} Q;
+ {}
+}