1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-28 22:42:52 +01:00
llvm-mirror/test/Regression/Linker/AppendingLinkage2.ll
Chris Lattner 4ab75c636c Add new testcase for appending linkage
llvm-svn: 6176
2003-05-13 20:48:17 +00:00

8 lines
280 B
LLVM

; Test that appending linkage works correctly when arrays are the same size.
; 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 8
%X = appending global [1 x int] [int 7]