r318736 - [MS] add an init test for thumbv7-windows-msvc
Martell Malone via cfe-commits
cfe-commits at lists.llvm.org
Tue Nov 21 00:09:59 PST 2017
Author: martell
Date: Tue Nov 21 00:09:59 2017
New Revision: 318736
URL: http://llvm.org/viewvc/llvm-project?rev=318736&view=rev
Log:
[MS] add an init test for thumbv7-windows-msvc
Modified:
cfe/trunk/test/Preprocessor/init.c
Modified: cfe/trunk/test/Preprocessor/init.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Preprocessor/init.c?rev=318736&r1=318735&r2=318736&view=diff
==============================================================================
--- cfe/trunk/test/Preprocessor/init.c (original)
+++ cfe/trunk/test/Preprocessor/init.c Tue Nov 21 00:09:59 2017
@@ -1438,6 +1438,11 @@
// AARCH64-DARWIN: #define __WINT_WIDTH__ 32
// AARCH64-DARWIN: #define __aarch64__ 1
+// RUN: %clang_cc1 -E -dM -ffreestanding -triple=thumbv7-windows-msvc < /dev/null | FileCheck -match-full-lines -check-prefix ARM-MSVC %s
+//
+// ARM-MSVC: #define _M_ARM_NT 1
+// ARM-MSVC: #define _WIN32 1
+
// RUN: %clang_cc1 -E -dM -ffreestanding -triple=aarch64-windows-msvc < /dev/null | FileCheck -match-full-lines -check-prefix AARCH64-MSVC %s
//
// AARCH64-MSVC: #define _INTEGRAL_MAX_BITS 64
More information about the cfe-commits
mailing list