Files
clang-p2996/llvm/test/tools/llvm-ar/display-empty.test
Ben Dunbobbin 9e4d2b193a [llvm-ar] Add some test-cases for empty archives
We had coverage of empty archive in our downstream testsuite.
This adds those cases upstream.

Differential Revision: https://reviews.llvm.org/D107471
2021-08-10 10:34:50 +01:00

12 lines
300 B
Plaintext

## Test Display of empty archives.
# RUN: rm -rf %t && mkdir -p %t
## Display empty archive:
# RUN: llvm-ar cr %t/empty.a
# RUN: llvm-ar tv %t/empty.a 2>&1 | count 0
## Display empty thin archive:
# RUN: llvm-ar Trc %t/thin-archive-empty.a
# RUN: llvm-ar tv %t/thin-archive-empty.a 2>&1 | count 0