blob: 2219fe8c4280e91d28e105c9217da3e610febeaf (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
// RUN: %boogie -noinfer -typeEncoding:m -useArrayTheory "%s" > "%t"
// RUN: %diff "%s.expect" "%t"
// XFAIL: *
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;
}
|