aboutsummaryrefslogtreecommitdiffstats
path: root/test/Linker/comdat7.ll
blob: d7e5e2d0a1ab03f4c3e658f13fa252b7c25be537 (plain)
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!