llvm-project/llvm/test/Linker/2002-07-17-GlobalFail.ll

9 lines
218 B
LLVM
Raw Normal View History

; RUN: llvm-as < %s > %t.bc
; RUN: echo | llvm-as > %t.tmp.bc
; RUN: llvm-link %t.tmp.bc %t.bc
2002-07-24 02:26:48 +08:00
@X = constant i32 5 ; <i32*> [#uses=2]
@Y = internal global [2 x i32*] [ i32* @X, i32* @X ] ; <[2 x i32*]*> [#uses=0]
2002-07-24 02:26:48 +08:00