projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6538516
)
[MS] add an init test for thumbv7-windows-msvc
author
Martell Malone
<martellmalone@gmail.com>
Tue, 21 Nov 2017 08:09:59 +0000
(08:09 +0000)
committer
Martell Malone
<martellmalone@gmail.com>
Tue, 21 Nov 2017 08:09:59 +0000
(08:09 +0000)
llvm-svn: 318736
clang/test/Preprocessor/init.c
patch
|
blob
|
history
diff --git
a/clang/test/Preprocessor/init.c
b/clang/test/Preprocessor/init.c
index
818cc2c
..
5fc568e
100644
(file)
--- a/
clang/test/Preprocessor/init.c
+++ b/
clang/test/Preprocessor/init.c
@@
-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