diff options
author | Reid Kleckner <reid@kleckner.net> | 2014-04-16 20:10:16 +0000 |
---|---|---|
committer | Reid Kleckner <reid@kleckner.net> | 2014-04-16 20:10:16 +0000 |
commit | 6f6e76dfe010f8e4e49f26317f9f4d8d689a91f4 (patch) | |
tree | a4ef439b3f11cfdf5da60aedfb0441cad8dc3407 /clang/test/Preprocessor/microsoft-ext.c | |
parent | 157779ed59fe4fcb800af17d8372979ddb49a447 (diff) | |
download | bcm5719-llvm-6f6e76dfe010f8e4e49f26317f9f4d8d689a91f4.tar.gz bcm5719-llvm-6f6e76dfe010f8e4e49f26317f9f4d8d689a91f4.zip |
Revert "Move -fms-extensions predefined macros into InitPreprocessor"
This reverts commit r206413.
This was proposed before, but it's not clear if this is really a good
idea:
http://reviews.llvm.org/D3034
llvm-svn: 206415
Diffstat (limited to 'clang/test/Preprocessor/microsoft-ext.c')
-rw-r--r-- | clang/test/Preprocessor/microsoft-ext.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/clang/test/Preprocessor/microsoft-ext.c b/clang/test/Preprocessor/microsoft-ext.c index 541cd4387dd..b03f6775429 100644 --- a/clang/test/Preprocessor/microsoft-ext.c +++ b/clang/test/Preprocessor/microsoft-ext.c @@ -1,9 +1,5 @@ -// RUN: %clang_cc1 -triple i686-pc-win32 -E -fms-extensions -fms-compatibility %s -o - | FileCheck %s -// RUN: %clang_cc1 -triple i686-linux-gnu -E -fms-extensions -fms-compatibility %s -o - | FileCheck %s - -#ifndef _MSC_EXTENSIONS -# error "_MSC_EXTENSIONS not defined with -fms-extensions" -#endif +// RUN: %clang_cc1 -E -fms-compatibility %s -o %t +// RUN: FileCheck %s < %t # define M2(x, y) x + y # define P(x, y) {x, y} |