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

Tree @0178d23 (Download .tar.gz)

comdat7.ll @0178d23raw · history · blame

1
2
3
4
5
6
7
8
; RUN: not llvm-link %s %s -S -o - 2>&1 | FileCheck %s

$c1 = comdat largest

define void @c1() comdat($c1) {
  ret void
}
; CHECK: GlobalVariable required for data dependent selection!