summaryrefslogtreecommitdiff
path: root/Test/stratifiedinline/bar2.bpl
blob: 6c3835912b3afc22ee2000fe0de72b72507dd12e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
procedure foo() returns (x: bool)
{
  var b: bool;
  if (b) {
    x := false;
    return;
  } else {
    x := true;
    return;
  }
}

procedure {:entrypoint} main()
{
  var b1: bool;
  var b2: bool;

  call b1 := foo();
  call b2 := foo();
  assume b1 != b2;
}