summaryrefslogtreecommitdiffstats
path: root/llvm/test/Linker/ctors3.ll
blob: e62b92dca0b494d27b2cb9f2772f0756f9e3e86f (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: @foo = global %t zeroinitializer, comdat
; CHECK: @llvm.global_ctors = appending global [0 x { i32, void ()*, i8* }] zeroinitializer
OpenPOWER on IntegriCloud