1 # This tests the functionality for finding the shared library libfn.so for ELF
2 RUN: lld -flavor gnu -target x86_64 %p/Inputs/main.o -L%p/Inputs/ -lfn -o %t \
3 RUN: --noinhibit-exec -t 2> %t1
4 RUN: FileCheck %s < %t1
6 CHECK: {{[\/0-9A-Za-z_]+}}libfn.so