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

7 lines
185 B
LLVM
Raw Normal View History

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