llvm.org GIT mirror llvm / db16727
Make sure linker output is overwritten so this test can pass multiple times. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32675 91177308-0d34-0410-b5e6-96231b3b80d8 Reid Spencer 13 years ago
1 changed file(s) with 1 addition(s) and 2 deletion(s). Raw diff Collapse all Expand all
0 ; RUN: llvm-as < %s > %t.bc
11 ; RUN: llvm-as < `dirname %s`/testlink1.ll > %t2.bc
2 ; RUN: llvm-link %t.bc %t.bc %t2.bc -o %t1.bc
2 ; RUN: llvm-link %t.bc %t.bc %t2.bc -o %t1.bc -f
33 ; RUN: llvm-dis < %t1.bc |grep "kallsyms_names = extern_weak" &&
44 ; RUN: llvm-dis < %t1.bc |grep "MyVar = external global int" &&
55 ; RUN: llvm-dis < %t1.bc |grep "Inte = global int"
99 %Inte = extern_weak global int
1010
1111 implementation
12