[clang] Handle __declspec() attributes in using
[llvm-project.git] / clang / test / Driver / darwin-sdk-with-prefix.c
blob7619ded56b65a8641a987fb5f125ea98db3f3ec7
1 // RUN: rm -rf %t.dir
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
8 //
9 // CHECK-NOT: warning: using sysroot for
10 // CHECK: "-triple" "arm64-apple-ios12.0.0"