blob: 72d2edebb4d5dec5f0538ee1592964517d1afd5d (
plain)
1
2
3
4
5
6
7
8
9
10
|
# Check that the -T/--script options issue an error when passed
# filenames for files that do not exist.
RUN: not lld -flavor old-gnu -target x86_64 -T idonotexist.ls 2> %t.err
RUN: FileCheck %s < %t.err
RUN: not lld -flavor old-gnu -target x86_64 --script=idonotexist.ls 2> %t.err
RUN: FileCheck %s < %t.err
CHECK: {{.*}}lld: cannot find file {{.*}}idonotexist.ls
|