llvm.org GIT mirror llvm / 0178d23 test / Linker / comdat11.ll
0178d23

Tree @0178d23 (Download .tar.gz)

comdat11.ll @0178d23raw · history · blame

; RUN: llvm-link -S %s %p/Inputs/comdat11.ll -o - | FileCheck %s

$foo = comdat any
@foo = global i8 0, comdat

; CHECK: @foo = global i8 0, comdat

; CHECK: define void @zed() {
; CHECK:   call void @bar()
; CHECK:   ret void
; CHECK: }

; CHECK: declare void @bar()