blob: c65ca319432de0e5275f3b7cac204df1c9235df6 [file] [log] [blame]
Nick Kledzik94174f72014-08-15 19:53:411# RUN: not lld -flavor darwin -test_file_usage -v \
Tim Northover77d82202014-07-10 11:21:062# RUN: -path_exists /usr/lib \
3# RUN: -path_exists /Applications/MySDK/usr/local/lib \
4# RUN: -path_exists /Applications/MySDK/usr/lib \
5# RUN: -path_exists /Applications/MySDK/usr/lib/libSystem.dylib \
6# RUN: -syslibroot /Applications/MySDK \
7# RUN: -syslibroot / \
8# RUN: -lSystem \
9# RUN: 2>&1 | FileCheck %s
10
11# When the last -syslibroot is simply "/", all of them get discarded. So in this
12# case, only /usr/lib should show up.
13
14# CHECK: Library search paths:
15# CHECK: /usr/lib
16# CHECK-NOT: /usr/local/lib
Nick Kledzik51720672014-10-16 19:31:2817# CHECK: Unable to find library for -lSystem