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/dash-before-letter.test
Fangrui Song 02b17f57fa [llvm-ar][test] \r\n -> \n
Also simplify some empty output tests with 'count 0'

llvm-svn: 366324
2019-07-17 13:40:42 +00:00

13 lines
243 B
Plaintext

# Test the use of dash before key letters.
RUN: touch %t1.txt
RUN: touch %t2.txt
RUN: rm -f %t.ar
RUN: llvm-ar s -cr %t.ar %t1.txt
RUN: llvm-ar -r -s %t.ar %t2.txt -s
RUN: llvm-ar -t %t.ar | FileCheck %s
CHECK: 1.txt
CHECK-NEXT: 2.txt