mirror of
https://github.com/RPCSX/llvm.git
synced 2024-11-24 04:09:45 +00:00
0178d23ade
We already linked available_externally and linkonce lazily, this just adds declarations to the list. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@254917 91177308-0d34-0410-b5e6-96231b3b80d8
11 lines
215 B
LLVM
11 lines
215 B
LLVM
; 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
|
|
}
|