diff options
author | Hans Wennborg <hans@hanshq.net> | 2017-08-11 01:41:23 +0000 |
---|---|---|
committer | Hans Wennborg <hans@hanshq.net> | 2017-08-11 01:41:23 +0000 |
commit | ad0ce25f78a95689d1bbe14512f69badb22a43df (patch) | |
tree | 832f373fbe311a10b269bc23c0e3fa54b0f148ef /test | |
parent | 6a4d8ba324f430182d7fe0eeeb1227138e4cc5fa (diff) |
Merging r309607:
------------------------------------------------------------------------
r309607 | ahatanak | 2017-07-31 12:16:40 -0700 (Mon, 31 Jul 2017) | 6 lines
[Driver] Allow users to silence the warning that is issued when the
deployment target is earlier than iOS 11 and the target is 32-bit.
This is a follow-up to r306922.
rdar://problem/32230613
------------------------------------------------------------------------
git-svn-id: https://llvm.org/svn/llvm-project/cfe/branches/release_50@310675 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r-- | test/Driver/darwin-version.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/Driver/darwin-version.c b/test/Driver/darwin-version.c index 12c7ef6eb0..785bd8ae98 100644 --- a/test/Driver/darwin-version.c +++ b/test/Driver/darwin-version.c @@ -45,6 +45,10 @@ // RUN: FileCheck --check-prefix=CHECK-VERSION-IOS11 %s // CHECK-VERSION-IOS11: arm64-apple-ios11.1.0 +// RUN: %clang -target armv7-apple-ios9.0 -miphoneos-version-min=11.0 -c -Wno-invalid-ios-deployment-target -### %s 2>&1 | \ +// RUN: FileCheck --check-prefix=CHECK-VERSION-IOS12 %s +// CHECK-VERSION-IOS12: thumbv7-apple-ios11.0.0 + // RUN: %clang -target i686-apple-darwin8 -c %s -### 2>&1 | \ // RUN: FileCheck --check-prefix=CHECK-VERSION-OSX4 %s // RUN: %clang -target i686-apple-darwin9 -mmacosx-version-min=10.4 -c %s -### 2>&1 | \ |