new testcase that crashes opt
authorChris Lattner <sabre@nondot.org>
Mon, 15 Sep 2003 15:29:11 +0000 (15:29 +0000)
committerChris Lattner <sabre@nondot.org>
Mon, 15 Sep 2003 15:29:11 +0000 (15:29 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8536 91177308-0d34-0410-b5e6-96231b3b80d8

test/Transforms/ADCE/2003-09-15-InfLoopCrash.ll [new file with mode: 0644]

diff --git a/test/Transforms/ADCE/2003-09-15-InfLoopCrash.ll b/test/Transforms/ADCE/2003-09-15-InfLoopCrash.ll
new file mode 100644 (file)
index 0000000..13b4f91
--- /dev/null
@@ -0,0 +1,8 @@
+; RUN: llvm-as < %s | opt -adce -disable-output
+
+int %main() {
+       br label %loop
+
+loop:
+       br label %loop
+}