YouCompleteMe/cpp/llvm/test/Linker/2004-02-17-WeakStrongLinkage.ll

8 lines
197 B
LLVM
Raw Normal View History

2012-07-05 20:51:06 -04:00
; 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]