llvm.org GIT mirror llvm / c0f00a9 test / Linker / ctors5.ll
c0f00a9

Tree @c0f00a9 (Download .tar.gz)

ctors5.ll @c0f00a9raw · history · blame

1
2
3
4
5
6
7
8
; RUN: llvm-link -S %s | FileCheck %s

@llvm.global_ctors = appending global [1 x { i32, void ()* }] [{ i32, void ()* } { i32 65535, void ()* @f }]
; CHECK: @llvm.global_ctors = appending global [1 x { i32, void ()*, i8* }] [{ i32, void ()*, i8* } { i32 65535, void ()* @f, i8* null }]

define void @f() {
  ret void
}