blob: 88307ba18e54ed1a03617f8fe5b38605ca84df7b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
// RUN: %boogie -noinfer -typeEncoding:m -useArrayTheory %s > %t
// RUN: %diff %s.expect %t
var {:phase 1} x: int;
var {:phase 1} y: int;
procedure {:yields} {:phase 1} foo()
{
assume x == y;
x := x + 1;
async call P();
y := y + 1;
}
procedure {:yields} {:phase 1} P()
requires x != y;
{
assert {:phase 1} x != y;
}
|