diff options
Diffstat (limited to 'Test/snapshots/Snapshots10.v1.bpl')
-rw-r--r-- | Test/snapshots/Snapshots10.v1.bpl | 42 |
1 files changed, 21 insertions, 21 deletions
diff --git a/Test/snapshots/Snapshots10.v1.bpl b/Test/snapshots/Snapshots10.v1.bpl index d4c09a5f..afc47e4c 100644 --- a/Test/snapshots/Snapshots10.v1.bpl +++ b/Test/snapshots/Snapshots10.v1.bpl @@ -1,21 +1,21 @@ -procedure {:checksum "0"} M(n: int);
- requires 0 < n;
-
-implementation {:id "M"} {:checksum "1"} M(n: int)
-{
- var x: int;
-
- call x := N(n);
-
- call O();
-
- assert 0 <= x;
-}
-
-procedure {:checksum "4"} N(n: int) returns (r: int);
- requires 0 < n;
- // Change: stronger postcondition
- ensures 42 < r;
-
-procedure {:checksum "3"} O();
- ensures true;
+procedure {:checksum "0"} M(n: int); + requires 0 < n; + +implementation {:id "M"} {:checksum "1"} M(n: int) +{ + var x: int; + + call x := N(n); + + call O(); + + assert 0 <= x; +} + +procedure {:checksum "4"} N(n: int) returns (r: int); + requires 0 < n; + // Change: stronger postcondition + ensures 42 < r; + +procedure {:checksum "3"} O(); + ensures true; |