summaryrefslogtreecommitdiff
path: root/Test/snapshots/Snapshots16.v1.bpl
blob: 4d7cc3540da6d3baefc0fbc3b41565e588bd3364 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
function {:checksum "4"} PlusOne(n: int) : int
{
    n + 2
}

function {:checksum "0"} F(n: int) : int;

axiom (forall n: int :: { F(n) } F(n) == PlusOne(n));

procedure {:checksum "2"} M();

implementation {:id "M"} {:checksum "3"} M()
{
    assert F(0) == 1;  // error
}