New testcase, distilled from PR324
authorChris Lattner <sabre@nondot.org>
Tue, 20 Apr 2004 20:15:01 +0000 (20:15 +0000)
committerChris Lattner <sabre@nondot.org>
Tue, 20 Apr 2004 20:15:01 +0000 (20:15 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13079 91177308-0d34-0410-b5e6-96231b3b80d8

test/Transforms/Inline/2004-04-20-InlineLinkOnce.llx [new file with mode: 0644]

diff --git a/test/Transforms/Inline/2004-04-20-InlineLinkOnce.llx b/test/Transforms/Inline/2004-04-20-InlineLinkOnce.llx
new file mode 100644 (file)
index 0000000..bfd3e1d
--- /dev/null
@@ -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
+}