xref: /llvm-project/llvm/test/Linker/2003-04-23-LinkOnceLost.ll (revision bd03c50336c8a7774935b5a045f25cd7db9e6db1)
1; RUN: echo " define linkonce void @foo() { ret void } " > %t.ll
2; RUN: llvm-link %s %t.ll -S | FileCheck %s
3; CHECK: linkonce{{.*}}foo
4
5declare void @foo()
6
7define void @use_foo() {
8  call void @foo()
9  ret void
10}
11