blob: 31f54f7e919ff886e2be308dbc47aa0b05842e92 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
// RUN: %boogie -noinfer -typeEncoding:m -useArrayTheory -doModSetAnalysis "%s" > "%t"
// RUN: %diff "%s.expect" "%t"
procedure A({:linear "tid"} i': int) returns ({:linear "tid"} i: int);
ensures i == i';
procedure{:entrypoint} B({:linear "tid"} i': int) returns ({:linear "tid"} i: int)
{
i := i';
call i := A(i);
assert false;
}
|