blob: a886d3bdd12c425022fda5c3328d7bb5492c86c4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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;
|