1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 11:13:28 +01:00
llvm-mirror/test/Linker/ctors3.ll
Rafael Espindola 282e907126 Fix another llvm.ctors merging bug.
We were not looking past casts to see if an element should be included
or not.

llvm-svn: 254313
2015-11-30 18:54:24 +00:00

9 lines
283 B
LLVM

; 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