You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

11 lines
215 B

; 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
}