aboutsummaryrefslogtreecommitdiffstats
path: root/test/Linker/comdat3.ll
blob: 3b5db0a39a0bdfcae3a74be0d08af7dfa7cb02f5 (plain)
1
2
3
4
5
; RUN: not llvm-link %s %p/Inputs/comdat2.ll -S -o - 2>&1 | FileCheck %s

$foo = comdat largest
@foo = global i32 43, comdat($foo)
; CHECK: Linking COMDATs named 'foo': can't do size dependent selection without DataLayout!