diff options
Diffstat (limited to 'Test/AbsHoudini/houd1.bpl')
-rw-r--r-- | Test/AbsHoudini/houd1.bpl | 38 |
1 files changed, 19 insertions, 19 deletions
diff --git a/Test/AbsHoudini/houd1.bpl b/Test/AbsHoudini/houd1.bpl index 0bd4831a..eeab11aa 100644 --- a/Test/AbsHoudini/houd1.bpl +++ b/Test/AbsHoudini/houd1.bpl @@ -1,19 +1,19 @@ -// RUN: %boogie -noinfer -contractInfer -printAssignment -abstractHoudini:IA[ConstantProp] "%s" > "%t"
-// RUN: %diff "%s.expect" "%t"
-function {:existential true} b1(x: bool) : bool;
-
-var myVar: int;
-
-procedure foo (i:int)
-modifies myVar;
-// comment
-ensures b1(myVar>0);
-{
- if (i>0) {
- myVar := 5;
- } else {
- myVar := 0;
- }
-}
-
-// expected end assigment: b1(x) = true
+// RUN: %boogie -noinfer -contractInfer -printAssignment -abstractHoudini:IA[ConstantProp] "%s" > "%t" +// RUN: %diff "%s.expect" "%t" +function {:existential true} b1(x: bool) : bool; + +var myVar: int; + +procedure foo (i:int) +modifies myVar; +// comment +ensures b1(myVar>0); +{ + if (i>0) { + myVar := 5; + } else { + myVar := 0; + } +} + +// expected end assigment: b1(x) = true |