From: Chris Lattner Date: Sun, 17 Oct 2004 23:20:29 +0000 (+0000) Subject: New testcase that crashes the inliner X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=58f8bdc6c64c9b0d29dbca25767bf0ef190e256c;p=oota-llvm.git New testcase that crashes the inliner git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17103 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/Transforms/Inline/2004-10-17-InlineFunctionWithoutReturn.ll b/test/Transforms/Inline/2004-10-17-InlineFunctionWithoutReturn.ll new file mode 100644 index 00000000000..caae0836bd9 --- /dev/null +++ b/test/Transforms/Inline/2004-10-17-InlineFunctionWithoutReturn.ll @@ -0,0 +1,10 @@ +; RUN: llvm-as < %s | opt -inline -disable-output + +int %test() { + unwind +} + +int %caller() { + %X = call int %test() + ret int %X +}