1# RUN: ld64.lld.darwinold -test_file_usage -v \
2# RUN:        -path_exists /usr/lib \
3# RUN:        -path_exists /Applications/MyFirstSDK/usr/local/lib \
4# RUN:        -path_exists /Applications/MySecondSDK/usr/local/lib \
5# RUN:        -path_exists /Applications/MyFirstSDK/usr/local/lib/libSystem.a \
6# RUN:        -path_exists /Applications/MySecondSDK/usr/local/lib/libSystem.a \
7# RUN:        -syslibroot /Applications/MyFirstSDK \
8# RUN:        -syslibroot /Applications/MySecondSDK \
9# RUN:        -lSystem \
10# RUN: 2>&1 | FileCheck %s
11
12
13# CHECK: Library search paths:
14# CHECK:     /usr/lib
15# CHECK:     /Applications/MyFirstSDK/usr/local/lib
16# CHECK:     /Applications/MySecondSDK/usr/local/lib
17# CHECK: Found library /Applications/MyFirstSDK/usr/local/lib/libSystem.a
18