[clang] Handle __declspec() attributes in using
[llvm-project.git] / clang / test / Driver / appletvos-version-min.c
blob7cbb2001a3ec215a5c30d56a5876f74cd15bc923
1 // REQUIRES: x86-registered-target
2 // REQUIRES: aarch64-registered-target
3 // RUN: %clang -target i386-apple-darwin10 -mappletvsimulator-version-min=9.0 -arch x86_64 -S -o - %s | FileCheck %s
4 // RUN: %clang -target armv7s-apple-darwin10 -mappletvos-version-min=9.0 -arch arm64 -S -o - %s | FileCheck %s
5 // RUN: env TVOS_DEPLOYMENT_TARGET=9.0 %clang -isysroot SDKs/MacOSX10.9.sdk -target i386-apple-darwin10 -arch x86_64 -S -o - %s | FileCheck %s
7 int main() { return 0; }
8 // CHECK: .tvos_version_min 9, 0