blob: 083d497eda2e0e1fc07c8e712f1ac8c85b069c31 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
procedure {:checksum "-1"} Callee();
implementation {:id "Callee"} {:checksum "0"} Callee()
{
var r: int;
call r := Sum(42);
assert r != 0;
}
procedure {:checksum "1"} Sum(n: int) returns (r: int);
requires 0 <= n;
ensures n <= r;
|