summaryrefslogtreecommitdiff
path: root/Test/AbsHoudini/quant5.bpl
blob: dfc44e471f64ff8e3d6375f9a2ac220af6a7df9f (plain)
1
2
3
4
5
6
7
8
9
10
11
function {:existential true} {:absdomain "Intervals"} b1(x: int) : bool;

procedure foo ()
{
  var arr: [int] int;
  assume (forall x: int :: arr[x] == 0);
  arr[5] := 1;

  assert (exists x: int :: arr[x] == 1 && b1(x));
}