]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - test/ELF/reproduce-backslash.s
Vendor import of lld trunk r291274:
[FreeBSD/FreeBSD.git] / test / ELF / reproduce-backslash.s
1 # REQUIRES: x86, shell
2
3 # Test that we don't erroneously replace \ with / on UNIX, as it's
4 # legal for a filename to contain backslashes.
5 # RUN: llvm-mc %s -o foo\\.o -filetype=obj -triple=x86_64-pc-linux
6 # RUN: ld.lld foo\\.o --reproduce repro.tar
7 # RUN: tar tf repro.tar | FileCheck %s
8
9 # CHECK: repro/{{.*}}/foo\\.o