1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-22 18:54:02 +01:00
llvm-mirror/test/tools/llvm-ar/response-utf8.test
gbreynoo 3746b653a6 [llvm-ar] Fix llvm-ar response file reading on Windows
Response files where not being correctly read on Windows, this change
fixes the issue and adds some tests.

Differential Revision: https://reviews.llvm.org/D69665
2020-03-03 13:42:57 +00:00

12 lines
317 B
Plaintext

## Check that response files can cope with non-ascii characters.
# RUN: echo 'contents' > %t-£.txt
# RUN: rm -f %t-£.a
# RUN: echo 'r %t-£.a %t-£.txt' > %t-replace.txt
# RUN: llvm-ar @%t-replace.txt
# RUN: echo 'p %t-£.a %t-£.txt' > %t-print.txt
# RUN: llvm-ar @%t-print.txt | FileCheck %s
# CHECK: contents