summaryrefslogtreecommitdiffstats
path: root/test/Frontend/darwin-eabi.c
diff options
context:
space:
mode:
authorJim Grosbach <grosbach@apple.com>2013-11-19 20:18:39 +0000
committerJim Grosbach <grosbach@apple.com>2013-11-19 20:18:39 +0000
commit5f96d3cbdd72f3074dfb544be67441ed2199a346 (patch)
tree6a7bcf32610f6c54e7b80132698e692bec6970e8 /test/Frontend/darwin-eabi.c
parentdb4041648fe6c60f502171e8a1ac73ea857d5a53 (diff)
ARM: embedded v7 'darwin' doesn't get min-version defines.
Make sure armv7 doesn't get the iOS deployment version definitions when it's being used for non-iOS. rdar://15497681 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@195149 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Frontend/darwin-eabi.c')
-rw-r--r--test/Frontend/darwin-eabi.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/test/Frontend/darwin-eabi.c b/test/Frontend/darwin-eabi.c
index dc0504bd3c..b4b82aa842 100644
--- a/test/Frontend/darwin-eabi.c
+++ b/test/Frontend/darwin-eabi.c
@@ -1,6 +1,7 @@
-// RUN: %clang -target x86_64-apple-darwin -arch armv6m -dM -E %s | FileCheck %s
-// RUN: %clang -target x86_64-apple-darwin -arch armv7m -dM -E %s | FileCheck %s
-// RUN: %clang -target x86_64-apple-darwin -arch armv7em -dM -E %s | FileCheck %s
+// RUN: %clang -arch armv6m -dM -E %s | FileCheck %s
+// RUN: %clang -arch armv7m -dM -E %s | FileCheck %s
+// RUN: %clang -arch armv7em -dM -E %s | FileCheck %s
+// RUN: %clang -arch armv7 -target thumbv7-apple-darwin-eabi -dM -E %s | FileCheck %s
// CHECK-NOT: __ENVIRONMENT_IPHONE_OS_VERSION_MIN_REQUIRED__
// CHECK-NOT: __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__