| 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 |
| 9 |
|
| 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 |