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

9 lines
186 B
LLVM

; RUN: llvm-upgrade < %s | llvm-as > %t.bc
; RUN: echo | llvm-as > %t.tmp.bc
; RUN: llvm-link %t.tmp.bc %t.bc
%X = constant int 5
%Y = internal global [2 x int*] [ int* %X, int * %X]