diff options
author | Chris Lattner <sabre@nondot.org> | 2004-10-17 23:20:29 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2004-10-17 23:20:29 +0000 |
commit | 58f8bdc6c64c9b0d29dbca25767bf0ef190e256c (patch) | |
tree | fee2e62aa3354e3fe93fdf57c25b2f9a02b691c3 | |
parent | 792558898fc8d79fd208a0b0bf8248b62139ff03 (diff) | |
download | external_llvm-58f8bdc6c64c9b0d29dbca25767bf0ef190e256c.zip external_llvm-58f8bdc6c64c9b0d29dbca25767bf0ef190e256c.tar.gz external_llvm-58f8bdc6c64c9b0d29dbca25767bf0ef190e256c.tar.bz2 |
New testcase that crashes the inliner
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17103 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | test/Transforms/Inline/2004-10-17-InlineFunctionWithoutReturn.ll | 10 |
1 files changed, 10 insertions, 0 deletions
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 0000000..caae083 --- /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 +} |