aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--test/Transforms/ADCE/2002-07-29-Segfault.ll9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/Transforms/ADCE/2002-07-29-Segfault.ll b/test/Transforms/ADCE/2002-07-29-Segfault.ll
new file mode 100644
index 0000000..9c53d68
--- /dev/null
+++ b/test/Transforms/ADCE/2002-07-29-Segfault.ll
@@ -0,0 +1,9 @@
+; RUN: as < %s | opt -adce
+
+void "test"()
+begin
+ br label %BB3
+
+BB3:
+ br label %BB3
+end