From d652155ae013f36a1ee17653a8e458baad2d9c2c Mon Sep 17 00:00:00 2001 From: Checkmate50 Date: Mon, 6 Jun 2016 23:14:18 -0600 Subject: Merging complete. Everything looks good *crosses fingers* --- Test/AbsHoudini/test8.bpl | 54 +++++++++++++++++++++++------------------------ 1 file changed, 27 insertions(+), 27 deletions(-) (limited to 'Test/AbsHoudini/test8.bpl') 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 -- cgit v1.2.3