llvm.org GIT mirror llvm / 0178d23 test / Linker / 2002-07-17-GlobalFail.ll
0178d23

Tree @0178d23 (Download .tar.gz)

2002-07-17-GlobalFail.ll @0178d23raw · history · blame

1
2
3
4
5
6
; RUN: llvm-as < %s > %t.bc
; RUN: echo | llvm-as > %t.tmp.bc
; RUN: llvm-link %t.tmp.bc %t.bc

@X = constant i32 5		; <i32*> [#uses=2]
@Y = internal global [2 x i32*] [ i32* @X, i32* @X ]		; <[2 x i32*]*> [#uses=0]