llvm-for-llvmta/test/Linker/comdat11.ll

14 lines
268 B
LLVM
Raw Normal View History

2022-04-25 10:02:23 +02:00
; 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()