1 // RUN: rm -rf %t.tmpdir
2 // RUN: mkdir -p %t.tmpdir/Xcode.app/Contents/Developers/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk
3 // RUN: not %clang -### -target x86_64-apple-macos10.10 -fobjc-link-runtime -lfoo \
4 // RUN: -isysroot %t.tmpdir/Xcode.app/Contents/Developers/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk \
5 // RUN: %s 2>&1 | FileCheck %s
7 // CHECK: error: SDK does not contain 'libarclite' at the path '
8 // CHECK: .tmpdir/Xcode.app/{{.*}}libarclite_macosx.a';
9 // CHECK: try increasing the minimum deployment target
11 // CHECK: .tmpdir/Xcode.app/{{.*}}libarclite_macosx.a