summaryrefslogtreecommitdiff
path: root/Test/test7/UnreachableBlocks.bpl
diff options
context:
space:
mode:
Diffstat (limited to 'Test/test7/UnreachableBlocks.bpl')
-rw-r--r--Test/test7/UnreachableBlocks.bpl84
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;
+}