summaryrefslogtreecommitdiff
path: root/Test/AbsHoudini/houd11.bpl
blob: a493574d9addd6548fb94fceaf4ad9860bcc195f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// RUN: %boogie -noinfer -contractInfer -printAssignment -abstractHoudini:IA[ConstantProp] "%s" > "%t"
// RUN: %diff "%s.expect" "%t"
function {:existential true} Assert() : bool;

var fooVar: int;

procedure foo() 
modifies fooVar;
{
  fooVar:=5; 
  assert Assert() || (fooVar==4);
  assert Assert() || (fooVar==3);
}

// expected assigment: Assert -> true