From 58f8bdc6c64c9b0d29dbca25767bf0ef190e256c Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Sun, 17 Oct 2004 23:20:29 +0000 Subject: [PATCH] New testcase that crashes the inliner git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17103 91177308-0d34-0410-b5e6-96231b3b80d8 --- .../Inline/2004-10-17-InlineFunctionWithoutReturn.ll | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 test/Transforms/Inline/2004-10-17-InlineFunctionWithoutReturn.ll 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 +}