aboutsummaryrefslogtreecommitdiff
path: root/clang/test/Driver/darwin-maccatalyst-error.c
blob: 009249b268c8f7f2dafc35c181c6c8d982a494f6 (plain)
1
2
3
4
5
6
// RUN: not %clang -target x86_64-apple-ios13.0-macabi -c %s -### 2>&1 | \
// RUN:   FileCheck --check-prefix=CHECK-ERROR %s
// RUN: not %clang -target x86_64-apple-ios12.0-macabi -c %s -### 2>&1 | \
// RUN:   FileCheck --check-prefix=CHECK-ERROR %s

// CHECK-ERROR: error: invalid version number in '-target x86_64-apple-ios