diff options
Diffstat (limited to 'clang/test/Parser')
-rw-r--r-- | clang/test/Parser/brackets.c | 1 | ||||
-rw-r--r-- | clang/test/Parser/brackets.cpp | 1 | ||||
-rw-r--r-- | clang/test/Parser/colon-colon-parentheses.cpp | 1 | ||||
-rw-r--r-- | clang/test/Parser/cxx-extra-semi.cpp | 1 | ||||
-rw-r--r-- | clang/test/Parser/nested-namespaces-recovery.cpp | 1 |
5 files changed, 5 insertions, 0 deletions
diff --git a/clang/test/Parser/brackets.c b/clang/test/Parser/brackets.c index 2750d0e42ed..67ea423aeea 100644 --- a/clang/test/Parser/brackets.c +++ b/clang/test/Parser/brackets.c @@ -3,6 +3,7 @@ // RUN: not %clang_cc1 -fixit %t -x c -DFIXIT // RUN: %clang_cc1 -fsyntax-only %t -x c -DFIXIT // RUN: not %clang_cc1 -fsyntax-only -fdiagnostics-parseable-fixits %s 2>&1 | FileCheck %s -strict-whitespace +// REQUIRES: rewriter void test1() { int a[] = {0,1,1,2,3}; diff --git a/clang/test/Parser/brackets.cpp b/clang/test/Parser/brackets.cpp index f418c11d3ac..128b514b158 100644 --- a/clang/test/Parser/brackets.cpp +++ b/clang/test/Parser/brackets.cpp @@ -3,6 +3,7 @@ // RUN: not %clang_cc1 -fixit %t -x c++ -DFIXIT // RUN: %clang_cc1 -fsyntax-only %t -x c++ -DFIXIT // RUN: not %clang_cc1 -fsyntax-only -fdiagnostics-parseable-fixits %s 2>&1 | FileCheck %s -strict-whitespace +// REQUIRES: rewriter void test1() { int a[] = {0,1,1,2,3}; diff --git a/clang/test/Parser/colon-colon-parentheses.cpp b/clang/test/Parser/colon-colon-parentheses.cpp index 55948fdb005..dc9aa7a0c9e 100644 --- a/clang/test/Parser/colon-colon-parentheses.cpp +++ b/clang/test/Parser/colon-colon-parentheses.cpp @@ -2,6 +2,7 @@ // RUN: cp %s %t // RUN: not %clang_cc1 -x c++ -fixit %t // RUN: %clang_cc1 -x c++ %t +// REQUIRES: rewriter struct S { static int a,b,c;}; int S::(a); // expected-error{{unexpected parenthesis after '::'}} diff --git a/clang/test/Parser/cxx-extra-semi.cpp b/clang/test/Parser/cxx-extra-semi.cpp index 2aa18dfcc0e..1bc0a82b2d7 100644 --- a/clang/test/Parser/cxx-extra-semi.cpp +++ b/clang/test/Parser/cxx-extra-semi.cpp @@ -4,6 +4,7 @@ // RUN: cp %s %t // RUN: %clang_cc1 -x c++ -Wextra-semi -fixit %t // RUN: %clang_cc1 -x c++ -Wextra-semi -Werror %t +// REQUIRES: rewriter class A { void A1(); diff --git a/clang/test/Parser/nested-namespaces-recovery.cpp b/clang/test/Parser/nested-namespaces-recovery.cpp index d45938bb3e6..f751180c96d 100644 --- a/clang/test/Parser/nested-namespaces-recovery.cpp +++ b/clang/test/Parser/nested-namespaces-recovery.cpp @@ -2,6 +2,7 @@ // RUN: %clang_cc1 -fsyntax-only -verify %s // RUN: not %clang_cc1 -x c++ -fixit %t // RUN: %clang_cc1 -x c++ %t +// REQUIRES: rewriter namespace foo1::foo2::foo3 { // expected-error {{nested namespace definition must define each namespace separately}} int foo(int x) { return x; } |