llvm.org GIT mirror llvm / 13318e5
Modernize the test a bit Remove out of date comment. Pass .ll files to llvm-link. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@254210 91177308-0d34-0410-b5e6-96231b3b80d8 Rafael Espindola 4 years ago
1 changed file(s) with 2 addition(s) and 7 deletion(s). Raw diff Collapse all Expand all
None ; This fails because the linker renames the non-opaque type not the opaque
1 ; one...
2
3 ; RUN: echo " define linkonce void @foo() { ret void } " | \
4 ; RUN: llvm-as -o %t.2.bc
5 ; RUN: llvm-as %s -o %t.1.bc
6 ; RUN: llvm-link %t.1.bc %t.2.bc -S | FileCheck %s
0 ; RUN: echo " define linkonce void @foo() { ret void } " > %t.ll
1 ; RUN: llvm-link %s %t.ll -S | FileCheck %s
72 ; CHECK: linkonce{{.*}}foo
83
94 declare void @foo()