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