llvm-for-llvmta/test/Linker/Inputs/comdat13.ll

10 lines
166 B
LLVM
Raw Permalink Normal View History

2022-04-25 10:02:23 +02:00
$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
}