New testcase that crashes the inliner
authorChris Lattner <sabre@nondot.org>
Sun, 17 Oct 2004 23:20:29 +0000 (23:20 +0000)
committerChris Lattner <sabre@nondot.org>
Sun, 17 Oct 2004 23:20:29 +0000 (23:20 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17103 91177308-0d34-0410-b5e6-96231b3b80d8

test/Transforms/Inline/2004-10-17-InlineFunctionWithoutReturn.ll [new file with mode: 0644]

diff --git a/test/Transforms/Inline/2004-10-17-InlineFunctionWithoutReturn.ll b/test/Transforms/Inline/2004-10-17-InlineFunctionWithoutReturn.ll
new file mode 100644 (file)
index 0000000..caae083
--- /dev/null
@@ -0,0 +1,10 @@
+; RUN: llvm-as < %s | opt -inline -disable-output
+
+int %test() {
+       unwind
+}
+
+int %caller() {
+       %X = call int %test()
+       ret int %X
+}