diff options
Diffstat (limited to 'Test/z3api/bar2.bpl')
-rw-r--r-- | Test/z3api/bar2.bpl | 48 |
1 files changed, 24 insertions, 24 deletions
diff --git a/Test/z3api/bar2.bpl b/Test/z3api/bar2.bpl index 76991a8f..6a7d4ed9 100644 --- a/Test/z3api/bar2.bpl +++ b/Test/z3api/bar2.bpl @@ -1,24 +1,24 @@ -
-procedure {:inline 1} foo() returns (x: bool)
-{
- var b: bool;
- if (b) {
- x := false;
- return;
- } else {
- x := true;
- return;
- }
-}
-
-procedure main()
-{
- var b1: bool;
- var b2: bool;
-
- call b1 := foo();
- call b2 := foo();
- assert b1 == b2;
-}
-
-
+ +procedure {:inline 1} foo() returns (x: bool) +{ + var b: bool; + if (b) { + x := false; + return; + } else { + x := true; + return; + } +} + +procedure main() +{ + var b1: bool; + var b2: bool; + + call b1 := foo(); + call b2 := foo(); + assert b1 == b2; +} + + |