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/inline/test2.bpl | 66 +++++++++++++++++++++++++-------------------------- 1 file changed, 33 insertions(+), 33 deletions(-) (limited to 'Test/inline/test2.bpl') diff --git a/Test/inline/test2.bpl b/Test/inline/test2.bpl index 981d7604..6c16d342 100644 --- a/Test/inline/test2.bpl +++ b/Test/inline/test2.bpl @@ -1,33 +1,33 @@ -// RUN: %boogie -inline:spec -print:- -env:0 -printInlined -noinfer "%s" > "%t" -// RUN: %diff "%s.expect" "%t" - -var glb:int; - -procedure calculate() -modifies glb; -{ - var x:int; - var y:int; - - y := 5; - - call x := increase(y); - - return; -} - - -procedure {:inline 1} increase (i:int) returns (k:int) -modifies glb; -{ - var j:int; - - j := i; - j := j + 1; - - glb := glb + j; - - k := j; - - return; -} +// RUN: %boogie -inline:spec -print:- -env:0 -printInlined -noinfer "%s" > "%t" +// RUN: %diff "%s.expect" "%t" + +var glb:int; + +procedure calculate() +modifies glb; +{ + var x:int; + var y:int; + + y := 5; + + call x := increase(y); + + return; +} + + +procedure {:inline 1} increase (i:int) returns (k:int) +modifies glb; +{ + var j:int; + + j := i; + j := j + 1; + + glb := glb + j; + + k := j; + + return; +} -- cgit v1.2.3