xref: /minix3/external/bsd/llvm/dist/clang/test/Driver/target-triple-deployment.c (revision 0a6a1f1d05b60e214de2f05a7310ddd1f0e590e7)
1f4a2713aSLionel Sambuc // RUN: touch %t.o
2f4a2713aSLionel Sambuc // RUN: %clang -target x86_64-apple-macosx -### %t.o 2> %t.log
3f4a2713aSLionel Sambuc // RUN: %clang -target x86_64-apple-darwin9 -### %t.o 2>> %t.log
4f4a2713aSLionel Sambuc // RUN: %clang -target x86_64-apple-macosx10.7 -### %t.o 2>> %t.log
5f4a2713aSLionel Sambuc //
6f4a2713aSLionel Sambuc // RUN: %clang -target armv7-apple-ios -### %t.o 2>> %t.log
7f4a2713aSLionel Sambuc // RUN: %clang -target armv7-apple-ios0.0 -### %t.o 2>> %t.log
8f4a2713aSLionel Sambuc // RUN: %clang -target armv7-apple-ios1.2.3 -### %t.o 2>> %t.log
9f4a2713aSLionel Sambuc // RUN: %clang -target armv7-apple-ios5.0 -### %t.o 2>> %t.log
10*0a6a1f1dSLionel Sambuc // RUN: %clang -target armv7-apple-ios7.0 -### %t.o 2>> %t.log
11*0a6a1f1dSLionel Sambuc // RUN: %clang -target arm64-apple-ios -### %t.o 2>> %t.log
12f4a2713aSLionel Sambuc //
13f4a2713aSLionel Sambuc // RUN: FileCheck %s < %t.log
14f4a2713aSLionel Sambuc 
15f4a2713aSLionel Sambuc // CHECK: {{ld(.exe)?"}}
16f4a2713aSLionel Sambuc // CHECK: -macosx_version_min
17f4a2713aSLionel Sambuc // CHECK: 10.4.0
18f4a2713aSLionel Sambuc // CHECK: {{ld(.exe)?"}}
19f4a2713aSLionel Sambuc // CHECK: -macosx_version_min
20f4a2713aSLionel Sambuc // CHECK: 10.5.0
21f4a2713aSLionel Sambuc // CHECK: {{ld(.exe)?"}}
22f4a2713aSLionel Sambuc // CHECK: -macosx_version_min
23f4a2713aSLionel Sambuc // CHECK: 10.7.0
24f4a2713aSLionel Sambuc // CHECK: {{ld(.exe)?"}}
25f4a2713aSLionel Sambuc // CHECK: -iphoneos_version_min
26*0a6a1f1dSLionel Sambuc // CHECK: 5.0.0
27f4a2713aSLionel Sambuc // CHECK: {{ld(.exe)?"}}
28f4a2713aSLionel Sambuc // CHECK: -iphoneos_version_min
29*0a6a1f1dSLionel Sambuc // CHECK: 5.0.0
30f4a2713aSLionel Sambuc // CHECK: {{ld(.exe)?"}}
31f4a2713aSLionel Sambuc // CHECK: -iphoneos_version_min
32f4a2713aSLionel Sambuc // CHECK: 1.2.3
33f4a2713aSLionel Sambuc // CHECK: {{ld(.exe)?"}}
34f4a2713aSLionel Sambuc // CHECK: -iphoneos_version_min
35f4a2713aSLionel Sambuc // CHECK: 5.0.0
36*0a6a1f1dSLionel Sambuc // CHECK: {{ld(.exe)?"}}
37*0a6a1f1dSLionel Sambuc // CHECK: -iphoneos_version_min
38*0a6a1f1dSLionel Sambuc // CHECK: 7.0.0
39*0a6a1f1dSLionel Sambuc // CHECK: {{ld(.exe)?"}}
40*0a6a1f1dSLionel Sambuc // CHECK: -iphoneos_version_min
41*0a6a1f1dSLionel Sambuc // CHECK: 7.0.0
42