diff options
Diffstat (limited to 'Test/snapshots/Snapshots11.v1.bpl')
-rw-r--r-- | Test/snapshots/Snapshots11.v1.bpl | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/Test/snapshots/Snapshots11.v1.bpl b/Test/snapshots/Snapshots11.v1.bpl index 3c3ea476..a6e6c64a 100644 --- a/Test/snapshots/Snapshots11.v1.bpl +++ b/Test/snapshots/Snapshots11.v1.bpl @@ -1,15 +1,15 @@ -procedure {:checksum "0"} M(n: int);
-
-implementation {:id "M"} {:checksum "1"} M(n: int)
-{
- var x: int;
-
- call x := N(n);
-
- assert 0 <= x;
-}
-
-procedure {:checksum "3"} N(n: int) returns (r: int);
- requires 0 < n;
- // Change: weaker postcondition
- ensures 0 <= r;
+procedure {:checksum "0"} M(n: int); + +implementation {:id "M"} {:checksum "1"} M(n: int) +{ + var x: int; + + call x := N(n); + + assert 0 <= x; +} + +procedure {:checksum "3"} N(n: int) returns (r: int); + requires 0 < n; + // Change: weaker postcondition + ensures 0 <= r; |