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