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/houdini/houd1.bpl | 42 +++++++++++++++++++++--------------------- 1 file changed, 21 insertions(+), 21 deletions(-) (limited to 'Test/houdini/houd1.bpl') diff --git a/Test/houdini/houd1.bpl b/Test/houdini/houd1.bpl index 0ad0feee..8477064f 100644 --- a/Test/houdini/houd1.bpl +++ b/Test/houdini/houd1.bpl @@ -1,21 +1,21 @@ -// RUN: %boogie -noinfer -contractInfer -printAssignment "%s" > "%t" -// RUN: %diff "%s.expect" "%t" -const {:existential true} b1:bool; - -var myVar: int; - -procedure foo (i:int) -modifies myVar; -// comment -ensures b1 ==> myVar>0; -ensures myVar!=-1; -{ - if (i>0) { - myVar := 5; - } else { - myVar := 0; - } -} - -// expected output: Correct -// expected end assigment: b1->False +// RUN: %boogie -noinfer -contractInfer -printAssignment "%s" > "%t" +// RUN: %diff "%s.expect" "%t" +const {:existential true} b1:bool; + +var myVar: int; + +procedure foo (i:int) +modifies myVar; +// comment +ensures b1 ==> myVar>0; +ensures myVar!=-1; +{ + if (i>0) { + myVar := 5; + } else { + myVar := 0; + } +} + +// expected output: Correct +// expected end assigment: b1->False -- cgit v1.2.3