blob: 47137799871396f05f1c8a9c831edaeff12b099f [file] [log] [blame]
Chris Lattnere0d464b2004-10-05 02:12:20 +00001; Test that appending linkage works correctly when arrays are the same size.
2
Chandler Carrutha5a29f92012-07-02 12:47:22 +00003; RUN: echo "@X = external global [1 x i32] " | \
Tanya Lattner5f4b3552008-03-10 07:21:50 +00004; RUN: llvm-as > %t.2.bc
5; RUN: llvm-as < %s > %t.1.bc
Eli Bendersky1cc814a2013-04-09 16:51:13 +00006; RUN: llvm-link %t.1.bc %t.2.bc -S | FileCheck %s
7; CHECK: constant
Chris Lattnere0d464b2004-10-05 02:12:20 +00008
Tanya Lattner5f4b3552008-03-10 07:21:50 +00009@X = constant [1 x i32] [ i32 12 ] ; <[1 x i32]*> [#uses=0]
10