diff options
Diffstat (limited to 'Test/stratifiedinline/bar1.bpl')
-rw-r--r-- | Test/stratifiedinline/bar1.bpl | 56 |
1 files changed, 28 insertions, 28 deletions
diff --git a/Test/stratifiedinline/bar1.bpl b/Test/stratifiedinline/bar1.bpl index fdce8177..11256950 100644 --- a/Test/stratifiedinline/bar1.bpl +++ b/Test/stratifiedinline/bar1.bpl @@ -1,28 +1,28 @@ -// RUN: %boogie -stratifiedInline:1 -vc:i "%s" > "%t"
-// RUN: %diff "%s.expect" "%t"
-var x: int;
-var y: int;
-
-procedure bar()
-modifies y;
-{
- y := y + 1;
-}
-
-procedure foo()
-modifies x, y;
-{
- x := x + 1;
- call bar();
- call bar();
- x := x + 1;
-}
-
-procedure {:entrypoint} main()
-modifies x, y;
-{
- assume x == y;
- call foo();
- assume x == y;
-}
-
+// RUN: %boogie -stratifiedInline:1 -vc:i "%s" > "%t" +// RUN: %diff "%s.expect" "%t" +var x: int; +var y: int; + +procedure bar() +modifies y; +{ + y := y + 1; +} + +procedure foo() +modifies x, y; +{ + x := x + 1; + call bar(); + call bar(); + x := x + 1; +} + +procedure {:entrypoint} main() +modifies x, y; +{ + assume x == y; + call foo(); + assume x == y; +} + |