1REQUIRES: x86
2REQUIRES: darwin
3
4RUN: mkdir -p %t1 %t2
5
6RUN: lld -flavor darwinnew -arch x86_64 -v -L%t1 -F%t2 2>&1 | FileCheck -DLDIR=%t1 -DFDIR=%t2 %s
7CHECK:      Library search paths:
8CHECK-NEXT: [[LDIR]]
9CHECK-NEXT: /usr/lib
10CHECK-NEXT: /usr/local/lib
11CHECK-NEXT: Framework search paths:
12CHECK-NEXT: [[FDIR]]
13CHECK-NEXT: /Library/Frameworks
14CHECK-NEXT: /System/Library/Frameworks
15
16RUN: lld -flavor darwinnew -arch x86_64 -v -L%t1 -F%t2 -Z 2>&1 | FileCheck -DLDIR=%t1 -DFDIR=%t2 --check-prefix=CHECK_Z %s
17CHECK_Z:      Library search paths:
18CHECK_Z-NEXT: [[LDIR]]
19CHECK_Z-NEXT: Framework search paths:
20CHECK_Z-NEXT: [[FDIR]]
21