2 // RUN: mkdir -p %t.dir
4 // RUN: rm -rf %t.dir/prefix.iPhoneOS12.0.0.sdk
5 // RUN: mkdir -p %t.dir/prefix.iPhoneOS12.0.0.sdk
6 // RUN: %clang -c -isysroot %t.dir/prefix.iPhoneOS12.0.0.sdk -target arm64-apple-darwin %s -### 2>&1 | FileCheck %s
7 // RUN: env SDKROOT=%t.dir/prefix.iPhoneOS12.0.0.sdk %clang -c -target arm64-apple-darwin %s -### 2>&1 | FileCheck %s
9 // CHECK-NOT: warning: using sysroot for
10 // CHECK: "-triple" "arm64-apple-ios12.0.0"