aboutsummaryrefslogtreecommitdiffstats
path: root/test/Transforms/Inline/2004-04-20-InlineLinkOnce.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/Transforms/Inline/2004-04-20-InlineLinkOnce.ll')
-rw-r--r--test/Transforms/Inline/2004-04-20-InlineLinkOnce.ll11
1 files changed, 11 insertions, 0 deletions
diff --git a/test/Transforms/Inline/2004-04-20-InlineLinkOnce.ll b/test/Transforms/Inline/2004-04-20-InlineLinkOnce.ll
new file mode 100644
index 0000000..fabad30
--- /dev/null
+++ b/test/Transforms/Inline/2004-04-20-InlineLinkOnce.ll
@@ -0,0 +1,11 @@
+; RUN: opt < %s -inline -prune-eh -disable-output
+
+define linkonce void @caller() {
+ call void @callee( )
+ ret void
+}
+
+define linkonce void @callee() {
+ ret void
+}
+