aboutsummaryrefslogtreecommitdiff
path: root/llvm/test/Linker/ctors3.ll
blob: 052a3c963daf901d2d0e798e96a9a128eb6f0b58 (plain)
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: @llvm.global_ctors = appending global [0 x { i32, ptr, ptr }] zeroinitializer
; CHECK: @foo = global %t zeroinitializer, comdat