[InstCombine] add tests to show potential vector IR shuffle transforms
[oota-llvm.git] / test / Linker / comdat13.ll
1 ; RUN: not llvm-link -S %s %p/Inputs/comdat13.ll -o %t.ll 2>&1 | FileCheck %s
2
3 ; In Inputs/comdat13.ll a function not in the $foo comdat (zed) references an
4 ; internal function in the comdat $foo.
5 ; We might want to have the verifier reject that, but for now we at least check
6 ; that the linker produces an error.
7 ; This is the IR equivalent of the "relocation refers to discarded section" in
8 ; an ELF linker.
9
10 ; CHECK: Declaration points to discarded value
11
12 $foo = comdat any
13 @foo = global i8 0, comdat