summaryrefslogtreecommitdiff
path: root/Test/stratifiedinline/bar2.bpl
blob: a4f367de3a900c2bed8472ca00b16618aa6c727e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
// RUN: %boogie -stratifiedInline:1 -vc:i "%s" > "%t"
// RUN: %diff "%s.expect" "%t"
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;
}