diff options
Diffstat (limited to 'Test/test2/CallVerifiedUnder0.bpl')
-rw-r--r-- | Test/test2/CallVerifiedUnder0.bpl | 84 |
1 files changed, 42 insertions, 42 deletions
diff --git a/Test/test2/CallVerifiedUnder0.bpl b/Test/test2/CallVerifiedUnder0.bpl index 9ac9dec7..5d99ec53 100644 --- a/Test/test2/CallVerifiedUnder0.bpl +++ b/Test/test2/CallVerifiedUnder0.bpl @@ -1,42 +1,42 @@ -// RUN: %boogie -noinfer "%s" > "%t"
-// RUN: %diff "%s.expect" "%t"
-
-procedure A(P: bool);
- requires P;
-
-procedure Test0()
-{
- call {:verified_under false} A(false); // error
-}
-
-
-procedure Test1()
-{
- call {:verified_under true} A(false);
-}
-
-
-procedure Test2(P: bool, A: bool)
-{
- call {:verified_under A} A(P); // error
-}
-
-
-procedure Test3(P: bool, A: bool)
- requires !A ==> P;
-{
- call {:verified_under A} A(P);
-}
-
-
-procedure Test4(P: bool, A: bool)
-{
- call {:verified_under A} {:verified_under true} A(P); // error
-}
-
-
-procedure Test5(P: bool, A: bool)
- requires !A ==> P;
-{
- call {:verified_under A} {:verified_under true} A(P);
-}
+// RUN: %boogie -noinfer "%s" > "%t" +// RUN: %diff "%s.expect" "%t" + +procedure A(P: bool); + requires P; + +procedure Test0() +{ + call {:verified_under false} A(false); // error +} + + +procedure Test1() +{ + call {:verified_under true} A(false); +} + + +procedure Test2(P: bool, A: bool) +{ + call {:verified_under A} A(P); // error +} + + +procedure Test3(P: bool, A: bool) + requires !A ==> P; +{ + call {:verified_under A} A(P); +} + + +procedure Test4(P: bool, A: bool) +{ + call {:verified_under A} {:verified_under true} A(P); // error +} + + +procedure Test5(P: bool, A: bool) + requires !A ==> P; +{ + call {:verified_under A} {:verified_under true} A(P); +} |