11 lines · plain
1; RUN: echo " define linkonce void @foo() { ret void } " > %t.ll2; RUN: llvm-link %s %t.ll -S | FileCheck %s3; CHECK: linkonce{{.*}}foo4 5declare void @foo()6 7define void @use_foo() {8 call void @foo()9 ret void10}11 1; RUN: echo " define linkonce void @foo() { ret void } " > %t.ll2; RUN: llvm-link %s %t.ll -S | FileCheck %s3; CHECK: linkonce{{.*}}foo4 5declare void @foo()6 7define void @use_foo() {8 call void @foo()9 ret void10}11