Michael J. Spencer | 13f8cbf | 2010-10-21 05:23:48 +0000 | [diff] [blame] | 1 | // This test verifies that the correct macros are predefined. It currently |
2 | // only checks for Microsoft macros. | ||||
3 | |||||
4 | // RUN: %clang_cc1 %s -E -dM -triple i686-pc-win32 -fms-extensions -fmsc-version=1300 -o - | FileCheck %s | ||||
5 | |||||
6 | |||||
7 | // CHECK: #define _INTEGRAL_MAX_BITS 64 | ||||
8 | // CHECK: #define _MSC_EXTENSIONS 1 | ||||
9 | // CHECK: #define _MSC_VER 1300 | ||||
10 | // CHECK: #define _M_IX86 600 | ||||
11 | // CHECK: #define _M_IX86_FP | ||||
12 | // CHECK: #define _WIN32 1 |