llvm-project/llvm/test/CodeGen/X86/weak.ll

5 lines
149 B
LLVM
Raw Normal View History

; RUN: llvm-as < %s | llc -march=x86
@a = extern_weak global i32 ; <i32*> [#uses=1]
@b = global i32* @a ; <i32**> [#uses=0]