mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-28 04:33:05 +00:00
New test for appending linkage
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6175 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
7e527424fc
commit
c43a4a4f84
7
test/Linker/AppendingLinkage.ll
Normal file
7
test/Linker/AppendingLinkage.ll
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
; Test that appending linkage works correctly.
|
||||||
|
|
||||||
|
; RUN: echo "%X = appending global [1x int] [int 8]" | as > Output/%s.2.bc
|
||||||
|
; RUN: as < %s > Output/%s.1.bc
|
||||||
|
; RUN: link Output/%s.[12].bc | dis | grep 7 | grep 4 | grep 8
|
||||||
|
|
||||||
|
%X = appending global [2 x int] [int 7, int 4]
|
Loading…
Reference in New Issue
Block a user