diff options
-rw-r--r-- | llvm/test/Transforms/Inline/2008-11-04-AlwaysInline.ll | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/llvm/test/Transforms/Inline/2008-11-04-AlwaysInline.ll b/llvm/test/Transforms/Inline/2008-11-04-AlwaysInline.ll new file mode 100644 index 00000000000..71087c59d54 --- /dev/null +++ b/llvm/test/Transforms/Inline/2008-11-04-AlwaysInline.ll @@ -0,0 +1,6 @@ +; RUN: llvm-as < %s | opt -always-inline | llvm-dis | grep {@foo} +; Ensure that foo is not removed by always inliner + +define internal i32 @foo() nounwind { + ret i32 0 +} |