From 7be1e0b478bd8430f5a676985f86c22f14c58c89 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Tue, 20 Apr 2004 20:15:01 +0000 Subject: [PATCH] New testcase, distilled from PR324 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 | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 test/Transforms/Inline/2004-04-20-InlineLinkOnce.llx 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 00000000000..bfd3e1dfba7 --- /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 +} -- 2.34.1