xref: /llvm-project/llvm/test/tools/llvm-link/archivell.test (revision 353fb1af0419a6f169871c807e17e20dee40eabd)
1# RUN: llvm-ar cr %t.fg.a %S/Inputs/f.ll %S/Inputs/g.ll
2# RUN: not llvm-link %S/Inputs/h.ll %t.fg.a -o %t.linked.bc 2>&1 | FileCheck %s
3
4# RUN: rm -f %t.fg.a
5# RUN: rm -f %t.linked.bc
6
7# CHECK: error: member of archive is not a bitcode file
8