diff options
Diffstat (limited to 'Test/AbsHoudini/quant5.bpl')
-rw-r--r-- | Test/AbsHoudini/quant5.bpl | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/Test/AbsHoudini/quant5.bpl b/Test/AbsHoudini/quant5.bpl new file mode 100644 index 00000000..dfc44e47 --- /dev/null +++ b/Test/AbsHoudini/quant5.bpl @@ -0,0 +1,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));
+}
+
|