summaryrefslogtreecommitdiff
path: root/Test/snapshots/Snapshots9.v1.bpl
blob: c35653fe7e5b5ff200d1c2a7c8f11acdfc0cee63 (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: weaker postcondition
  ensures 0 <= r;