8625704ad8
Former-commit-id: 67aa10e65b237e1c4537630979ee99ebe1374215
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
|
|
}
|