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

7 lines
223 B
LLVM
Raw Permalink Normal View History

2022-04-25 10:02:23 +02:00
$foo = comdat any
@foo = global i8 1, comdat
@llvm.global_ctors = appending global [1 x { i32, void ()*, i8* }] [{ i32, void ()*, i8* } { i32 65535, void ()* @bar, i8* @foo }]
define void @bar() comdat($foo) {
ret void
}