Files
clang-p2996/llvm/test/tools/llvm-ar/double-hyphen.test
gbreynoo 5e0f9d5d3c [llvm-ar][test] Add to llvm-ar test coverage
- Added handling of thin archives to symtab.test.
- Added handling of newlines to response.test.
- 62fa3332c9 exposed behaviour
  regarding the use of -- on the command line. Added
  double-hyphen.test to cover this.

Differential Revision: https://reviews.llvm.org/D73333
2020-03-04 10:56:48 +00:00

10 lines
200 B
Plaintext

## Test the use of "--" on the commandline
# RUN: echo contents > %t.txt
# RUN: rm -f %t.ar
# RUN: llvm-ar rc -- %t.ar %t.txt 2>&1 | count 0
# RUN: llvm-ar p %t.ar | FileCheck %s
# CHECK: contents