summaryrefslogtreecommitdiff
path: root/Test/og/async.bpl
blob: 15f89bae881232537acfafe49c68826a7e61b8b4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
var x: int;
var y: int;

procedure {:entrypoint} foo() 
{
  assume x == y;
  x := x + 1;
  async call P();
  y := y + 1;
}

procedure P()
requires x != y;
{
  assert x != y;
}