summaryrefslogtreecommitdiff
path: root/Test/snapshots/Snapshots16.v1.bpl
blob: ab6a8acef9b1cb4d845f1a82f28bc30826e2c6c9 (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
}