diff options
Diffstat (limited to 'Test/snapshots/Snapshots8.v1.bpl')
-rw-r--r-- | Test/snapshots/Snapshots8.v1.bpl | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/Test/snapshots/Snapshots8.v1.bpl b/Test/snapshots/Snapshots8.v1.bpl index de241c24..a886d3bd 100644 --- a/Test/snapshots/Snapshots8.v1.bpl +++ b/Test/snapshots/Snapshots8.v1.bpl @@ -1,16 +1,16 @@ -procedure {:checksum "0"} M(n: int);
- requires 0 < n;
-
-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: stronger postcondition
- ensures 42 < r;
+procedure {:checksum "0"} M(n: int); + requires 0 < n; + +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: stronger postcondition + ensures 42 < r; |