1# REQUIRES: x86, system-linux 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: rm -rf %t.dir && mkdir -p %t.dir 6# RUN: llvm-mc %s -o %t.dir/foo\\.o -filetype=obj -triple=x86_64-pc-linux 7# RUN: ld.lld %t.dir/foo\\.o --reproduce %t.dir/repro.tar -o /dev/null 8# RUN: tar tf %t.dir/repro.tar | FileCheck %s 9 10# CHECK: repro/{{.*}}/foo\{{[\]?}}.o 11