[clang] Implement lifetime analysis for lifetime_capture_by(X) (#115921)
[llvm-project.git] / clang / test / Driver / darwin-ld-platform-version-maccatalyst.c
blob9878376ec5e74e56c5bdcd2014b02a7b036ce6ff
1 // RUN: touch %t.o
3 // RUN: %clang -target x86_64-apple-ios13.3-macabi -isysroot %S/Inputs/MacOSX10.14.sdk -mlinker-version=520 -### %t.o 2>&1 \
4 // RUN: | FileCheck %s
5 // RUN: %clang -target x86_64-apple-ios13.3-macabi -isysroot %S/Inputs/MacOSX10.15.versioned.sdk -mlinker-version=520 -### %t.o 2>&1 \
6 // RUN: | FileCheck --check-prefix=CHECK-MAPPED-SDK %s
8 // CHECK: "-platform_version" "mac catalyst" "13.3.0" "13.1"
9 // CHECK-MAPPED-SDK: "-platform_version" "mac catalyst" "13.3.0" "13.1"