YouCompleteMe/cpp/llvm/test/Linker/2004-02-17-WeakStrongLinkage.ll
2012-07-05 17:51:06 -07:00

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]