Add tests for linker and linkonce globals
[oota-llvm.git] / test / Linker / LinkOnce.ll
1 ; This fails because the linker renames the non-opaque type not the opaque 
2 ; one...
3
4 ; RUN: echo "%X = linkonce global int 8" | as > Output/%s.2.bc
5 ; RUN: as < %s > Output/%s.1.bc
6 ; RUN: link Output/%s.[12].bc | dis
7
8 %X = linkonce global int 7