diff options
Diffstat (limited to 'Test/AbsHoudini/quant5.bpl')
-rw-r--r-- | Test/AbsHoudini/quant5.bpl | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/Test/AbsHoudini/quant5.bpl b/Test/AbsHoudini/quant5.bpl index d511e9ac..fb73a137 100644 --- a/Test/AbsHoudini/quant5.bpl +++ b/Test/AbsHoudini/quant5.bpl @@ -1,13 +1,13 @@ -// RUN: %boogie -noinfer -contractInfer -printAssignment -inlineDepth:1 -abstractHoudini:HoudiniConst -z3opt:MBQI=true "%s" > "%t"
-// RUN: %diff "%s.expect" "%t"
-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));
-}
-
+// RUN: %boogie -noinfer -contractInfer -printAssignment -inlineDepth:1 -abstractHoudini:HoudiniConst -z3opt:MBQI=true "%s" > "%t" +// RUN: %diff "%s.expect" "%t" +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)); +} + |