Matt Arsenault 353fb1af04 llvm-link: Do not use .ll extension for tests with no IR
These don't actually contain IR and don't use the correct IR comment
character. The assembler was not happy when I tried running tools over
every test in the suite.
2023-01-12 08:07:30 -05:00

8 lines
241 B
Plaintext

# 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