hanchenye-llvm-project/llvm/test/Linker/2004-02-17-WeakStrongLinkag...

8 lines
197 B
LLVM

; RUN: llvm-as < %s > %t.out2.bc
; RUN: echo "@me = global i32* null" | llvm-as > %t.out1.bc
; RUN: llvm-link %t.out1.bc %t.out2.bc -o /dev/null
@me = weak global i32* null ; <i32**> [#uses=0]