# Check that linker script are *not* picked up with -lscript.ls.
RUN: not lld -flavor gnu -target x86_64 -L%p/Inputs/ -lvalid.ls 2> %t.err
RUN: FileCheck %s < %t.err
CHECK: {{.*}}: Unable to find library -lvalid.ls