# 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