llvm.org GIT mirror llvm / 25219a7
Add tests for linker and linkonce globals git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5791 91177308-0d34-0410-b5e6-96231b3b80d8 Chris Lattner 17 years ago
1 changed file(s) with 8 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
0 ; This fails because the linker renames the non-opaque type not the opaque
1 ; one...
2
3 ; RUN: echo "%X = linkonce global int 8" | as > Output/%s.2.bc
4 ; RUN: as < %s > Output/%s.1.bc
5 ; RUN: link Output/%s.[12].bc | dis
6
7 %X = linkonce global int 7