mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-05 18:27:59 +00:00
1d4a6cc6f5
We already linked available_externally and linkonce lazily, this just adds declarations to the list. llvm-svn: 254917
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
|
|
}
|