[docs] Add LICENSE.txt to the root of the mono-repo
[llvm-project.git] / clang / test / Driver / darwin-zippered-target-version.c
blob0f739a44f4d4aa8fe6356da3ee69fabe107f2042
1 // RUN: %clang -target unknown-apple-macos10.15 -arch x86_64 -arch x86_64h -arch i386 \
2 // RUN: -darwin-target-variant x86_64-apple-ios13.1-macabi -darwin-target-variant x86_64h-apple-ios13.1-macabi \
3 // RUN: %s -fuse-ld= -mlinker-version=400 -### 2>&1 | FileCheck %s
5 // RUN: %clang -target unknown-apple-ios13.1-macabi -arch x86_64 -arch x86_64h \
6 // RUN: -darwin-target-variant x86_64-apple-macos10.15 \
7 // RUN: %s -fuse-ld= -mlinker-version=400 -### 2>&1 | FileCheck --check-prefix=INVERTED %s
9 // CHECK: "-arch" "x86_64" "-macosx_version_min" "10.15.0" "-maccatalyst_version_min" "13.1"
10 // CHECK: "-arch" "x86_64h" "-macosx_version_min" "10.15.0" "-maccatalyst_version_min" "13.1"
11 // CHECK: "-arch" "i386" "-macosx_version_min" "10.15.0"
12 // CHECK-NOT: maccatalyst_version_min
14 // INVERTED: "-arch" "x86_64" "-maccatalyst_version_min" "13.1.0" "-macosx_version_min" "10.15"
15 // INVERTED: "-arch" "x86_64h" "-maccatalyst_version_min" "13.1.0"
16 // INVERTED-NOT: macosx_version_min