blob: ae8f517d4928c07db13a5de757a4ea8571530d92 (
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;
}
|