llvm-project/llvm/test/Linker/Inputs/comdat13.ll

10 lines
166 B
LLVM

$foo = comdat any
@foo = internal global i8 1, comdat
define i8* @zed() {
call void @bax()
ret i8* @foo
}
define internal void @bax() comdat($foo) {
ret void
}