diff options
author | Dan Liew <daniel.liew@imperial.ac.uk> | 2015-06-28 01:44:30 +0100 |
---|---|---|
committer | Dan Liew <daniel.liew@imperial.ac.uk> | 2015-06-28 01:44:30 +0100 |
commit | 962f8d5252b3f5ec4d19e0cd2a430934bd55cc6d (patch) | |
tree | 27d5f9b0d130c6c1a6758bc0b7456b0aa51e34e0 /Test/stratifiedinline/bar2.bpl | |
parent | e11d65009d0b4ba1327f5f5dd6b26367330611f0 (diff) |
Normalise line endings using a .gitattributes file. Unfortunately
this required that this commit globally modify most files. If you
want to use git blame to see the real author of a line use the
``-w`` flag so that whitespace changes are ignored.
Diffstat (limited to 'Test/stratifiedinline/bar2.bpl')
-rw-r--r-- | Test/stratifiedinline/bar2.bpl | 50 |
1 files changed, 25 insertions, 25 deletions
diff --git a/Test/stratifiedinline/bar2.bpl b/Test/stratifiedinline/bar2.bpl index a4f367de..beebf459 100644 --- a/Test/stratifiedinline/bar2.bpl +++ b/Test/stratifiedinline/bar2.bpl @@ -1,25 +1,25 @@ -// RUN: %boogie -stratifiedInline:1 -vc:i "%s" > "%t"
-// RUN: %diff "%s.expect" "%t"
-procedure foo() returns (x: bool)
-{
- var b: bool;
- if (b) {
- x := false;
- return;
- } else {
- x := true;
- return;
- }
-}
-
-procedure {:entrypoint} main()
-{
- var b1: bool;
- var b2: bool;
-
- call b1 := foo();
- call b2 := foo();
- assume b1 != b2;
-}
-
-
+// RUN: %boogie -stratifiedInline:1 -vc:i "%s" > "%t" +// RUN: %diff "%s.expect" "%t" +procedure foo() returns (x: bool) +{ + var b: bool; + if (b) { + x := false; + return; + } else { + x := true; + return; + } +} + +procedure {:entrypoint} main() +{ + var b1: bool; + var b2: bool; + + call b1 := foo(); + call b2 := foo(); + assume b1 != b2; +} + + |