summaryrefslogtreecommitdiffstats
path: root/llvm/test/Linker/2003-04-23-LinkOnceLost.ll
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/test/Linker/2003-04-23-LinkOnceLost.ll')
-rw-r--r--llvm/test/Linker/2003-04-23-LinkOnceLost.ll4
1 files changed, 4 insertions, 0 deletions
diff --git a/llvm/test/Linker/2003-04-23-LinkOnceLost.ll b/llvm/test/Linker/2003-04-23-LinkOnceLost.ll
index c699d1eb058..e2b600c877c 100644
--- a/llvm/test/Linker/2003-04-23-LinkOnceLost.ll
+++ b/llvm/test/Linker/2003-04-23-LinkOnceLost.ll
@@ -4,3 +4,7 @@
declare void @foo()
+define void @use_foo() {
+ call void @foo()
+ ret void
+}
OpenPOWER on IntegriCloud