1*0a6a1f1dSLionel Sambuc // RUN: %clang_cc1 -dM -triple armv7-windows -E %s | FileCheck %s 2*0a6a1f1dSLionel Sambuc // RUN: %clang_cc1 -dM -fno-signed-char -triple armv7-windows -E %s \ 3*0a6a1f1dSLionel Sambuc // RUN: | FileCheck %s -check-prefix CHECK-UNSIGNED-CHAR 4*0a6a1f1dSLionel Sambuc 5*0a6a1f1dSLionel Sambuc // CHECK: #define _INTEGRAL_MAX_BITS 64 6*0a6a1f1dSLionel Sambuc // CHECK: #define _M_ARM 7 7*0a6a1f1dSLionel Sambuc // CHECK: #define _M_ARMT _M_ARM 8*0a6a1f1dSLionel Sambuc // CHECK: #define _M_ARM_FP 31 9*0a6a1f1dSLionel Sambuc // CHECK: #define _M_ARM_NT 1 10*0a6a1f1dSLionel Sambuc // CHECK: #define _M_THUMB _M_ARM 11*0a6a1f1dSLionel Sambuc // CHECK: #define _WIN32 1 12*0a6a1f1dSLionel Sambuc 13*0a6a1f1dSLionel Sambuc // CHECK: #define __ARM_PCS 1 14*0a6a1f1dSLionel Sambuc // CHECK: #define __ARM_PCS_VFP 1 15*0a6a1f1dSLionel Sambuc // CHECK: #define __BYTE_ORDER__ __ORDER_LITTLE_ENDIAN__ 16*0a6a1f1dSLionel Sambuc // CHECK: #define __SIZEOF_DOUBLE__ 8 17*0a6a1f1dSLionel Sambuc // CHECK: #define __SIZEOF_FLOAT__ 4 18*0a6a1f1dSLionel Sambuc // CHECK: #define __SIZEOF_INT__ 4 19*0a6a1f1dSLionel Sambuc // CHECK: #define __SIZEOF_LONG_DOUBLE__ 8 20*0a6a1f1dSLionel Sambuc // CHECK: #define __SIZEOF_LONG_LONG__ 8 21*0a6a1f1dSLionel Sambuc // CHECK: #define __SIZEOF_LONG__ 4 22*0a6a1f1dSLionel Sambuc // CHECK: #define __SIZEOF_POINTER__ 4 23*0a6a1f1dSLionel Sambuc // CHECK: #define __SIZEOF_PTRDIFF_T__ 4 24*0a6a1f1dSLionel Sambuc // CHECK: #define __SIZEOF_SHORT__ 2 25*0a6a1f1dSLionel Sambuc // CHECK: #define __SIZEOF_SIZE_T__ 4 26*0a6a1f1dSLionel Sambuc // CHECK: #define __SIZEOF_WCHAR_T__ 2 27*0a6a1f1dSLionel Sambuc // CHECK: #define __SIZEOF_WINT_T__ 4 28*0a6a1f1dSLionel Sambuc 29*0a6a1f1dSLionel Sambuc // CHECK-NOT: __THUMB_INTERWORK__ 30*0a6a1f1dSLionel Sambuc // CHECK-NOT: __ARM_EABI__ 31*0a6a1f1dSLionel Sambuc // CHECK-NOT: _CHAR_UNSIGNED 32*0a6a1f1dSLionel Sambuc 33*0a6a1f1dSLionel Sambuc // CHECK-UNSIGNED-CHAR: #define _CHAR_UNSIGNED 1 34