summaryrefslogtreecommitdiff
path: root/Test/snapshots/Snapshots9.v1.bpl
blob: d1886a6dbd4ba752b7c4ab1e216b1e039e3f7027 (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;