bolt/deps/llvm-18.1.8/llvm/test/Linker/2002-07-17-GlobalFail.ll

9 lines
206 B
LLVM
Raw Normal View History

2025-02-14 19:21:04 +01:00
; RUN: llvm-as < %s > %t.bc
; RUN: echo | llvm-as > %t.tmp.bc
; RUN: llvm-link %t.tmp.bc %t.bc
@X = constant i32 5 ; <ptr> [#uses=2]
@Y = internal global [2 x ptr] [ ptr @X, ptr @X ] ; <ptr> [#uses=0]