hanchenye-llvm-project/lld/test/Driver/def-lib-search.test

9 lines
284 B
Plaintext

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