llvm-project/llvm/test/Feature/linker_private_linkages.ll

8 lines
252 B
LLVM

; RUN: llvm-as < %s | llvm-dis > %t1.ll
; RUN: llvm-as %t1.ll -o - | llvm-dis > %t2.ll
; RUN: diff %t1.ll %t2.ll
@foo = linker_private hidden global i32 0
@bar = linker_private_weak hidden global i32 0
@qux = linker_private_weak_def_auto global i32 0