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/test7/UnreachableBlocks.bpl | |
parent | d7fc0deb2ca6d7ebee094b6ea5430d9b41f163ec (diff) |
Merging complete. Everything looks good *crosses fingers*
Diffstat (limited to 'Test/test7/UnreachableBlocks.bpl')
-rw-r--r-- | Test/test7/UnreachableBlocks.bpl | 84 |
1 files changed, 42 insertions, 42 deletions
diff --git a/Test/test7/UnreachableBlocks.bpl b/Test/test7/UnreachableBlocks.bpl index 95c35029..90f0b0cb 100644 --- a/Test/test7/UnreachableBlocks.bpl +++ b/Test/test7/UnreachableBlocks.bpl @@ -1,42 +1,42 @@ -// RUN: %boogie -vc:nested "%s" > "%t"
-// RUN: %diff "%s.expect" "%t"
-// In the following program, block "A" has no dominator, which would cause Boogie
-// to crash if Boogie didn't first remove unreachable blocks. That is essentially
-// what this test tests
-procedure P()
-{
-entry:
- goto A;
-A:
- return;
-B:
- goto A;
-}
-
-procedure Q()
-{
-entry:
- goto entry, A;
-A:
- return;
-}
-
-procedure R()
-{
-entry:
- return;
-A:
- goto A;
-}
-
-procedure S()
-{
-entry:
- return;
-A:
- goto C;
-B:
- goto C;
-C: // C has no dominator
- return;
-}
+// RUN: %boogie -vc:nested "%s" > "%t" +// RUN: %diff "%s.expect" "%t" +// In the following program, block "A" has no dominator, which would cause Boogie +// to crash if Boogie didn't first remove unreachable blocks. That is essentially +// what this test tests +procedure P() +{ +entry: + goto A; +A: + return; +B: + goto A; +} + +procedure Q() +{ +entry: + goto entry, A; +A: + return; +} + +procedure R() +{ +entry: + return; +A: + goto A; +} + +procedure S() +{ +entry: + return; +A: + goto C; +B: + goto C; +C: // C has no dominator + return; +} |