diff options
Diffstat (limited to 'test/Transforms/Inline/2008-11-04-AlwaysInline.ll')
-rw-r--r-- | test/Transforms/Inline/2008-11-04-AlwaysInline.ll | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/Transforms/Inline/2008-11-04-AlwaysInline.ll b/test/Transforms/Inline/2008-11-04-AlwaysInline.ll new file mode 100644 index 0000000..bc9787b --- /dev/null +++ b/test/Transforms/Inline/2008-11-04-AlwaysInline.ll @@ -0,0 +1,7 @@ +; RUN: opt < %s -always-inline -S | grep {@foo} +; Ensure that foo is not removed by always inliner +; PR 2945 + +define internal i32 @foo() nounwind { + ret i32 0 +} |