diff options
author | Checkmate50 <dgeisler50@gmail.com> | 2016-06-06 23:14:18 -0600 |
---|---|---|
committer | Checkmate50 <dgeisler50@gmail.com> | 2016-06-06 23:14:18 -0600 |
commit | d652155ae013f36a1ee17653a8e458baad2d9c2c (patch) | |
tree | 067d600fe3cd1723afc11682935f0123a1eab653 /Test/test2/CutBackEdge.bpl | |
parent | d7fc0deb2ca6d7ebee094b6ea5430d9b41f163ec (diff) |
Merging complete. Everything looks good *crosses fingers*
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; +} |