llvm-for-llvmta/test/Linker/2003-04-23-LinkOnceLost.ll
Nils Hölscher 3500bf8dde first commit
2022-04-25 10:02:23 +02:00

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
}