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
9 # CHECK: repro/{{.*}}/foo\\.o