aboutsummaryrefslogtreecommitdiff
path: root/test/ELF/reproduce-error.s
blob: 3a99815d7708fc4bdfcb61e2f4c990834b9663ed (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# REQUIRES: shell
# Extracting the tar archive can get over the path limit on windows.

# RUN: rm -rf %t.dir
# RUN: mkdir -p %t.dir
# RUN: cd %t.dir

# RUN: not ld.lld --reproduce repro.tar abc -o t 2>&1 | FileCheck %s
# CHECK: cannot open abc: {{N|n}}o such file or directory

# RUN: tar xf repro.tar
# RUN: FileCheck --check-prefix=RSP %s < repro/response.txt
# RSP: abc
# RSP: -o t