aboutsummaryrefslogtreecommitdiffstats
path: root/test/Linker/comdat3.ll
blob: f0d9a48bb9ddcfe78aad04d9d8635a2eb149ea10 (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!