summaryrefslogtreecommitdiff
path: root/test/ELF/reproduce-windows2.s
diff options
context:
space:
mode:
Diffstat (limited to 'test/ELF/reproduce-windows2.s')
-rw-r--r--test/ELF/reproduce-windows2.s11
1 files changed, 11 insertions, 0 deletions
diff --git a/test/ELF/reproduce-windows2.s b/test/ELF/reproduce-windows2.s
new file mode 100644
index 000000000000..d428288a3640
--- /dev/null
+++ b/test/ELF/reproduce-windows2.s
@@ -0,0 +1,11 @@
+# REQUIRES: system-windows, x86, cpio
+
+# Test that a response.txt file always uses / instead of \.
+# RUN: rm -rf %t.dir
+# RUN: mkdir -p %t.dir/build
+# RUN: llvm-mc %s -o %t.dir/build/foo.o -filetype=obj -triple=x86_64-pc-linux
+# RUN: cd %t.dir
+# RUN: ld.lld build/foo.o --reproduce repro
+# RUN: echo "*response.txt" > list.txt
+# RUN: cpio -i --to-stdout --pattern-file=list.txt < repro.cpio | FileCheck %s
+# CHECK: {{.*}}/build/foo.o