1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 19:23:23 +01:00
llvm-mirror/test/tools/llvm-ar/full-to-thin-archive.test
gbreynoo cf0bee260d [llvm-ar][test] Add to thin archive test coverage
This diff adds test coverage for thin archives including additions to
existing tests. In some cases I have updated the formats of these tests
to better match other tests in the archive.

Differential Revision: https://reviews.llvm.org/D70969
2019-12-04 16:17:42 +00:00

9 lines
297 B
Plaintext

## Test archives do not convert to thin archives.
# RUN: rm -rf %t && mkdir -p %t
# RUN: llvm-ar qc %t/archive.a %s
# RUN: not llvm-ar qT %t/archive.a %s 2>&1 | FileCheck %s
# RUN: not llvm-ar rT %t/archive.a %s 2>&1 | FileCheck %s
# CHECK: error: cannot convert a regular archive to a thin one