aboutsummaryrefslogtreecommitdiff
path: root/llvm/test/tools/llvm-link/archivell.test
blob: 5a90990d46639de4a20a0b8fc8fc9d21da1e19da (plain)
1
2
3
4
5
6
7
# RUN: llvm-ar cr %t.fg.a %S/Inputs/f.ll %S/Inputs/g.ll
# RUN: not llvm-link %S/Inputs/h.ll %t.fg.a -o %t.linked.bc 2>&1 | FileCheck %s

# RUN: rm -f %t.fg.a
# RUN: rm -f %t.linked.bc

# CHECK: error: member of archive is not a bitcode file