[clang] Implement lifetime analysis for lifetime_capture_by(X) (#115921)
[llvm-project.git] / clang / test / Driver / darwin-maccatalyst.c
blob74a02ed945c517ed0fe487c043ca415b055cae06
1 // RUN: %clang -target x86_64-apple-ios13.1-macabi -c %s -### 2>&1 | \
2 // RUN: FileCheck --check-prefix=CHECK-VERSION1 %s
3 // RUN: %clang -target x86_64-apple-ios-macabi -c %s -### 2>&1 | \
4 // RUN: FileCheck --check-prefix=CHECK-VERSION1 %s
5 // RUN: not %clang -target x86_64-apple-ios13.0-macabi -c %s -### 2>&1 | \
6 // RUN: FileCheck --check-prefix=CHECK-ERROR %s
7 // RUN: not %clang -target x86_64-apple-ios12.0-macabi -c %s -### 2>&1 | \
8 // RUN: FileCheck --check-prefix=CHECK-ERROR %s
10 // CHECK-VERSION1-NOT: error:
11 // CHECK-VERSION1: "x86_64-apple-ios13.1.0-macabi"
12 // CHECK-ERROR: error: invalid version number in '-target x86_64-apple-ios