1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-22 10:42:39 +01:00
llvm-mirror/test/tools/llvm-ar/double-hyphen.test
gbreynoo 3b4c521b04 [llvm-ar][test] Add to llvm-ar test coverage
- Added handling of thin archives to symtab.test.
- Added handling of newlines to response.test.
- 62fa3332c9c1af1e66dfecd40f5b4e78882998b2 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