Sign in
swiftshader
/
SwiftShader
/
9aff7ae7e43e8c66be73aa13915a99a24d22e767
/
.
/
third_party
/
llvm-7.0
/
llvm
/
test
/
Linker
/
2003-04-23-LinkOnceLost.ll
blob: e2b600c877c06569d30db8e626d9fade49bd239f [
file
] [
log
] [
blame
]
; RUN: echo " define linkonce void @foo() { ret void } " > %t.ll
; RUN: llvm-link %s %t.ll -S | FileCheck %s
; CHECK: linkonce{{.*}}foo
declare
void
@foo
()
define
void
@use_foo
()
{
call
void
@foo
()
ret
void
}