From 6f6e76dfe010f8e4e49f26317f9f4d8d689a91f4 Mon Sep 17 00:00:00 2001 From: Reid Kleckner Date: Wed, 16 Apr 2014 20:10:16 +0000 Subject: 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 --- clang/test/Preprocessor/microsoft-ext.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'clang/test/Preprocessor/microsoft-ext.c') 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} -- cgit v1.2.3