diff options
Diffstat (limited to 'Test/AbsHoudini/test8.bpl')
-rw-r--r-- | Test/AbsHoudini/test8.bpl | 54 |
1 files changed, 27 insertions, 27 deletions
diff --git a/Test/AbsHoudini/test8.bpl b/Test/AbsHoudini/test8.bpl index f9a9afaa..1a79d188 100644 --- a/Test/AbsHoudini/test8.bpl +++ b/Test/AbsHoudini/test8.bpl @@ -1,27 +1,27 @@ -// 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 {:inline 1} foo()
-modifies g;
-{
- call bar();
-}
-
-procedure bar()
-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 {:inline 1} foo() +modifies g; +{ + call bar(); +} + +procedure bar() +modifies g; +{ + g := g + 1; +} + +// Expected: Assert = false |