summaryrefslogtreecommitdiffstats
path: root/clang/test/Frontend/darwin-eabi.c
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/Frontend/darwin-eabi.c')
-rw-r--r--clang/test/Frontend/darwin-eabi.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/clang/test/Frontend/darwin-eabi.c b/clang/test/Frontend/darwin-eabi.c
new file mode 100644
index 00000000000..dc0504bd3c1
--- /dev/null
+++ b/clang/test/Frontend/darwin-eabi.c
@@ -0,0 +1,6 @@
+// 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
+
+// CHECK-NOT: __ENVIRONMENT_IPHONE_OS_VERSION_MIN_REQUIRED__
+// CHECK-NOT: __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__
OpenPOWER on IntegriCloud