summaryrefslogtreecommitdiff
path: root/Test/snapshots/Snapshots40.v0.bpl
blob: 27839752689158815f99df6f2f98bd3f72ccbc35 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
procedure {:checksum "-1"} Foo(b: bool);

implementation {:id "Foo"} {:checksum "0"} Foo(b: bool)
{
    var r: int;

    assert b;
    call r := Sum(42);
    assert r != 0;
}

procedure {:checksum "1"} Sum(n: int) returns (r: int);
  requires 0 <= n;
  ensures n <= r;