bolt/deps/llvm-18.1.8/llvm/test/Linker/2004-02-17-WeakStrongLinkage.ll

8 lines
193 B
LLVM
Raw Normal View History

2025-02-14 19:21:04 +01:00
; RUN: llvm-as < %s > %t.out2.bc
; RUN: echo "@me = global ptr null" | llvm-as > %t.out1.bc
; RUN: llvm-link %t.out1.bc %t.out2.bc -o /dev/null
@me = weak global ptr null ; <ptr> [#uses=0]