diff options
Diffstat (limited to 'Test/AbsHoudini/test7.bpl')
-rw-r--r-- | Test/AbsHoudini/test7.bpl | 42 |
1 files changed, 21 insertions, 21 deletions
diff --git a/Test/AbsHoudini/test7.bpl b/Test/AbsHoudini/test7.bpl index 118a1c99..65f311f6 100644 --- a/Test/AbsHoudini/test7.bpl +++ b/Test/AbsHoudini/test7.bpl @@ -1,21 +1,21 @@ -// RUN: %boogie -noinfer -contractInfer -printAssignment -inlineDepth:1 -abstractHoudini:IA[ConstantProp] "%s" > "%t"
-// RUN: %diff "%s.expect" "%t"
-function {:existential true} Assert() : bool;
-
-var g: int;
-
-procedure main()
-modifies g;
-{
- g := 0;
- call foo();
- assert Assert() || g == 1;
-}
-
-procedure foo()
-modifies g;
-{
- g := g + 1;
-}
-
-// Expected: Assert = false
+// RUN: %boogie -noinfer -contractInfer -printAssignment -inlineDepth:1 -abstractHoudini:IA[ConstantProp] "%s" > "%t" +// RUN: %diff "%s.expect" "%t" +function {:existential true} Assert() : bool; + +var g: int; + +procedure main() +modifies g; +{ + g := 0; + call foo(); + assert Assert() || g == 1; +} + +procedure foo() +modifies g; +{ + g := g + 1; +} + +// Expected: Assert = false |