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

Tree @0178d23 (Download .tar.gz)

comdat4.ll @0178d23raw · history · blame

1
2
3
4
5
; RUN: not llvm-link %s %p/Inputs/comdat3.ll -S -o - 2>&1 | FileCheck %s

$foo = comdat noduplicates
@foo = global i64 43, comdat($foo)
; CHECK: Linking COMDATs named 'foo': noduplicates has been violated!