aboutsummaryrefslogtreecommitdiff
path: root/test/Preprocessor/woa-wchar_t.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/Preprocessor/woa-wchar_t.c')
-rw-r--r--test/Preprocessor/woa-wchar_t.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/Preprocessor/woa-wchar_t.c b/test/Preprocessor/woa-wchar_t.c
new file mode 100644
index 000000000000..eb9a8628537a
--- /dev/null
+++ b/test/Preprocessor/woa-wchar_t.c
@@ -0,0 +1,5 @@
+// RUN: %clang_cc1 -dM -triple armv7-windows -E %s | FileCheck %s
+// RUN: %clang_cc1 -dM -fno-signed-char -triple armv7-windows -E %s | FileCheck %s
+
+// CHECK: #define __WCHAR_TYPE__ unsigned short
+