[NFC] Maintainers.rst: align email address formatting
[llvm-project.git] / clang / test / Driver / apple-os-triples.c
blob7664d3bc19fca269211294fd04199bb8136a7ee4
1 // Test triple manipulations.
3 // RUN: %clang -### -c %s \
4 // RUN: --target=i386-apple-darwin10 -mappletvsimulator-version-min=9.0 -arch x86_64 2>&1 | \
5 // RUN: FileCheck %s -DARCH=x86_64 -DOS=tvos9.0.0-simulator
6 // RUN: %clang -### -c %s \
7 // RUN: --target=armv7s-apple-darwin10 -mappletvos-version-min=9.0 -arch arm64 2>&1 | \
8 // RUN: FileCheck %s -DARCH=arm64 -DOS=tvos9.0.0
9 // RUN: env TVOS_DEPLOYMENT_TARGET=9.0 %clang -### -c %s \
10 // RUN: -isysroot SDKs/MacOSX10.9.sdk -target i386-apple-darwin10 -arch x86_64 2>&1 | \
11 // RUN: FileCheck %s -DARCH=x86_64 -DOS=tvos9.0.0
13 // RUN: %clang -### -c %s \
14 // RUN: --target=x86_64-apple-driverkit19.0 2>&1 | \
15 // RUN: FileCheck %s -DARCH=x86_64 -DOS=driverkit19.0.0
17 // RUN: %clang -### -c %s \
18 // RUN: --target=i386-apple-darwin10 -miphonesimulator-version-min=7.0 -arch i386 2>&1 | \
19 // RUN: FileCheck %s -DARCH=i386 -DOS=ios7.0.0-simulator
20 // RUN: %clang -### -c %s \
21 // RUN: --target=armv7s-apple-darwin10 -miphoneos-version-min=7.0 -arch armv7s 2>&1 | \
22 // RUN: FileCheck %s -DARCH=thumbv7s -DOS=ios7.0.0
24 // RUN: %clang -### -c %s \
25 // RUN: --target=i386-apple-darwin10 -mwatchsimulator-version-min=2.0 -arch i386 2>&1 | \
26 // RUN: FileCheck %s -DARCH=i386 -DOS=watchos2.0.0-simulator
27 // RUN: %clang -### -c %s \
28 // RUN: --target=armv7s-apple-darwin10 -mwatchos-version-min=2.0 -arch armv7k 2>&1 | \
29 // RUN: FileCheck %s -DARCH=thumbv7k -DOS=watchos2.0.0
31 // CHECK: "-cc1" "-triple" "[[ARCH]]-apple-[[OS]]"