blob: 15d5dbbea9ff6786d39e99ae1e249a94ebc5e857 [file] [log] [blame]
# Check that search paths explicitly provided by the -L option
# are used in search before default paths.
RUN: not lld -flavor old-gnu -target x86_64 -t -ltest \
RUN: --sysroot=%p/Inputs -L%p/Inputs 2> %t
RUN: FileCheck %s < %t
CHECK: {{[^ ]+}}{{[\\/]}}Inputs{{[\\/]}}libtest.a