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