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/test2/CutBackEdge.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/test2/CutBackEdge.bpl')
-rw-r--r-- | Test/test2/CutBackEdge.bpl | 84 |
1 files changed, 42 insertions, 42 deletions
diff --git a/Test/test2/CutBackEdge.bpl b/Test/test2/CutBackEdge.bpl index 2ee7cd68..4d507c1e 100644 --- a/Test/test2/CutBackEdge.bpl +++ b/Test/test2/CutBackEdge.bpl @@ -1,42 +1,42 @@ -// RUN: %boogie -noinfer "%s" > "%t"
-// RUN: %diff "%s.expect" "%t"
-procedure Test()
-{
- var i: int;
-
- entry:
- i := 0;
- goto block850;
-
- block850:
- assert i == 0;
- havoc i;
- goto block850;
-
-}
-
-// The following procedure once exhibited a bug in Boogie's DAG manipulations
-procedure TightLoop0()
-{
- L:
- assert !true; // error
- goto L;
-}
-procedure TightLoop1()
-{
- L:
- assert false; // error
- goto L;
-}
-procedure TightLoop2()
-{
- L:
- assert true; // cool
- goto L;
-}
-procedure TightLoop3(b: bool)
-{
- L:
- assert b; // error
- goto L;
-}
+// RUN: %boogie -noinfer "%s" > "%t" +// RUN: %diff "%s.expect" "%t" +procedure Test() +{ + var i: int; + + entry: + i := 0; + goto block850; + + block850: + assert i == 0; + havoc i; + goto block850; + +} + +// The following procedure once exhibited a bug in Boogie's DAG manipulations +procedure TightLoop0() +{ + L: + assert !true; // error + goto L; +} +procedure TightLoop1() +{ + L: + assert false; // error + goto L; +} +procedure TightLoop2() +{ + L: + assert true; // cool + goto L; +} +procedure TightLoop3(b: bool) +{ + L: + assert b; // error + goto L; +} |