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

Tree @c0f00a9 (Download .tar.gz)

ctors3.ll @c0f00a9raw · history · blame

1
2
3
4
5
6
7
8
; RUN: llvm-link -S %s %p/Inputs/ctors3.ll -o - | FileCheck %s

$foo = comdat any
%t = type { i8 }
@foo = global %t zeroinitializer, comdat

; CHECK: @foo = global %t zeroinitializer, comdat
; CHECK: @llvm.global_ctors = appending global [0 x { i32, void ()*, i8* }] zeroinitializer