diff options
Diffstat (limited to 'clang/test/Parser/nested-namespaces-recovery.cpp')
-rw-r--r-- | clang/test/Parser/nested-namespaces-recovery.cpp | 1 |
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; } |