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

20 lines
280 B
LLVM
Raw Permalink Normal View History

2022-04-25 10:02:23 +02:00
$foo = comdat any
$bar = comdat any
define linkonce_odr i32 @f1() comdat($foo) {
ret i32 1
}
define void @f2() comdat($foo) {
call i32 @g2()
ret void
}
define linkonce_odr i32 @g1() comdat($bar) {
ret i32 1
}
define linkonce_odr i32 @g2() comdat($bar) {
ret i32 1
}