Add tests for linker and linkonce globals

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5791 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2003-04-16 21:21:35 +00:00
parent e3869c83e7
commit 25219a76fe

8
test/Linker/LinkOnce.ll Normal file
View File

@ -0,0 +1,8 @@
; This fails because the linker renames the non-opaque type not the opaque
; one...
; RUN: echo "%X = linkonce global int 8" | as > Output/%s.2.bc
; RUN: as < %s > Output/%s.1.bc
; RUN: link Output/%s.[12].bc | dis
%X = linkonce global int 7