summaryrefslogtreecommitdiffstats
path: root/clang/test/Parser/nested-namespaces-recovery.cpp
diff options
context:
space:
mode:
authorNAKAMURA Takumi <geek4civic@gmail.com>2014-07-16 13:36:39 +0000
committerNAKAMURA Takumi <geek4civic@gmail.com>2014-07-16 13:36:39 +0000
commit692d6bb544338c65550a46d76b81db668d4901f5 (patch)
tree9ca31c12c035fec6c1144fc7ce8ebb1698074159 /clang/test/Parser/nested-namespaces-recovery.cpp
parentc5ac729131abfb35f56769a9a7b299e4e3432c50 (diff)
downloadbcm5719-llvm-692d6bb544338c65550a46d76b81db668d4901f5.tar.gz
bcm5719-llvm-692d6bb544338c65550a46d76b81db668d4901f5.zip
clang/test: Introduce the feature "rewriter" for --enable-clang-rewriter.
llvm-svn: 213148
Diffstat (limited to 'clang/test/Parser/nested-namespaces-recovery.cpp')
-rw-r--r--clang/test/Parser/nested-namespaces-recovery.cpp1
1 files changed, 1 insertions, 0 deletions
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; }
OpenPOWER on IntegriCloud