diff options
author | Aaron Ballman <aaron@aaronballman.com> | 2012-03-10 22:21:14 +0000 |
---|---|---|
committer | Aaron Ballman <aaron@aaronballman.com> | 2012-03-10 22:21:14 +0000 |
commit | 5b31d55ab3a72c026a0781b6dcf9bc1dd462e8b9 (patch) | |
tree | 3c85cdb6fa653a283ca2f528d1cddaf363e2edfc /test/Preprocessor/predefined-macros.c | |
parent | bccda480f424c001a14e0fb84910f20f31f5fcfb (diff) |
No longer defining GNUC mode when compiling for Microsoft compatibility. This allows people's cross-platform compiler-specific macros to work properly.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@152512 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Preprocessor/predefined-macros.c')
-rw-r--r-- | test/Preprocessor/predefined-macros.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/Preprocessor/predefined-macros.c b/test/Preprocessor/predefined-macros.c index 5b03872c1f..8ec4d7ecf6 100644 --- a/test/Preprocessor/predefined-macros.c +++ b/test/Preprocessor/predefined-macros.c @@ -8,6 +8,7 @@ // CHECK-MS: #define _M_IX86 600 // CHECK-MS: #define _M_IX86_FP // CHECK-MS: #define _WIN32 1 +// CHECK-MS-NOT: #define __GNUC__ // // RUN: %clang_cc1 %s -E -dM -ffast-math -o - \ // RUN: | FileCheck %s --check-prefix=CHECK-FAST-MATH |