Disabling some MS extensions which cause these tests to fail

llvm-svn: 85236
This commit is contained in:
John Thompson 2009-10-27 14:31:53 +00:00
parent d90d169f9d
commit ec87bb5c46
5 changed files with 5 additions and 5 deletions

View File

@ -1,4 +1,4 @@
// RUN: clang-cc -fsyntax-only -verify %s
// RUN: clang-cc -fsyntax-only -verify -fms-extensions=0 %s
// Errors
export class foo { }; // expected-error {{expected template}}

View File

@ -1,4 +1,4 @@
// RUN: clang-cc -fsyntax-only -verify -pedantic %s &&
// RUN: clang-cc -fsyntax-only -verify -pedantic -fms-extensions=0 %s &&
// RUN: clang-cc -E %s 2>&1 | grep 'blonk.c:92:2: error: #error ABC' &&
// RUN: clang-cc -E %s 2>&1 | grep 'blonk.c:93:2: error: #error DEF'

View File

@ -1,4 +1,4 @@
// RUN: clang-cc -fsyntax-only -verify %s
// RUN: clang-cc -fsyntax-only -verify -fms-extensions=0 %s
x; // expected-error{{C++ requires a type specifier for all declarations}}

View File

@ -1,4 +1,4 @@
// RUN: clang-cc -fsyntax-only -std=c++98 -verify %s
// RUN: clang-cc -fsyntax-only -std=c++98 -verify -fms-extensions=0 %s
namespace A {
struct C {
static int cx;

View File

@ -1,4 +1,4 @@
// RUN: clang-cc -fsyntax-only -verify %s
// RUN: clang-cc -fsyntax-only -verify -fms-extensions=0 %s
namespace N {
namespace M {