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

7 lines
185 B
LLVM

@v = weak global i8 1
@llvm.global_ctors = appending global [1 x { i32, void ()*, i8* }] [{ i32, void ()*, i8* } { i32 65535, void ()* @foo, i8* @v}]
define void @foo() {
ret void
}