llvm-project/llvm/test/Linker/ctors2.ll

8 lines
238 B
LLVM

; RUN: llvm-link -S %s %p/Inputs/ctors2.ll -o - | FileCheck %s
$foo = comdat any
@foo = global i8 0, comdat
; CHECK: @foo = global i8 0, comdat
; CHECK: @llvm.global_ctors = appending global [0 x { i32, void ()*, i8* }] zeroinitializer