diff options
Diffstat (limited to 'Test/AbsHoudini/pred2.bpl')
-rw-r--r-- | Test/AbsHoudini/pred2.bpl | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/Test/AbsHoudini/pred2.bpl b/Test/AbsHoudini/pred2.bpl index c9ac3f74..f34bf5d6 100644 --- a/Test/AbsHoudini/pred2.bpl +++ b/Test/AbsHoudini/pred2.bpl @@ -1,14 +1,14 @@ -// RUN: %boogie -noinfer -contractInfer -printAssignment -inlineDepth:1 -abstractHoudini:PredicateAbs "%s" > "%t"
-// RUN: %diff "%s.expect" "%t"
-function {:existential true} b0(x:bool): bool;
-
-var g: int;
-
-procedure main()
-modifies g;
-ensures b0(g == old(g));
-{
- if(*) { g := 5; }
- assume g != 5;
-}
-
+// RUN: %boogie -noinfer -contractInfer -printAssignment -inlineDepth:1 -abstractHoudini:PredicateAbs "%s" > "%t" +// RUN: %diff "%s.expect" "%t" +function {:existential true} b0(x:bool): bool; + +var g: int; + +procedure main() +modifies g; +ensures b0(g == old(g)); +{ + if(*) { g := 5; } + assume g != 5; +} + |