llvm-for-llvmta/test/tools/llvm-ar/full-to-thin-archive.test

9 lines
297 B
Plaintext
Raw Permalink Normal View History

2022-04-25 10:02:23 +02:00
## 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