llvm-project/llvm/test/tools/llvm-ar/display-empty.test

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