blob: 2c1302f39b1f7709af811f446e6be12e3a4cd706 [file] [log] [blame]
Chris Lattnerd450a0a2003-05-13 20:48:17 +00001; Test that appending linkage works correctly when arrays are the same size.
2
Tanya Lattnerceca1942008-03-10 07:21:50 +00003; RUN: echo {@X = appending global \[1 x i32\] \[i32 8\] } | \
4; RUN: llvm-as > %t.2.bc
5; RUN: llvm-as < %s > %t.1.bc
Dan Gohman5efe5662009-09-15 15:38:31 +00006; RUN: llvm-link %t.1.bc %t.2.bc -S | grep 7 | grep 8
Chris Lattnerd450a0a2003-05-13 20:48:17 +00007
Tanya Lattnerceca1942008-03-10 07:21:50 +00008@X = appending global [1 x i32] [ i32 7 ] ; <[1 x i32]*> [#uses=0]