2019-04-27 06:40:47 +08:00
|
|
|
// RUN: rm -rf %t.tmpdir
|
|
|
|
// RUN: mkdir -p %t.tmpdir/Xcode.app/Contents/Developers/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk
|
|
|
|
// RUN: %clang -### -target x86_64-apple-macos10.10 -fobjc-link-runtime -lfoo \
|
|
|
|
// RUN: -isysroot %t.tmpdir/Xcode.app/Contents/Developers/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk \
|
|
|
|
// RUN: %s 2>&1 | FileCheck %s
|
|
|
|
|
|
|
|
// CHECK: -lfoo
|
2019-04-27 06:58:31 +08:00
|
|
|
// CHECK: .tmpdir/Xcode.app/{{.*}}libarclite_macosx.a
|