summaryrefslogtreecommitdiffstats
path: root/clang/test/Parser/cxx1z-nested-namespace-definition.cpp
diff options
context:
space:
mode:
authorRichard Smith <richard-llvm@metafoo.co.uk>2017-08-13 22:26:53 +0000
committerRichard Smith <richard-llvm@metafoo.co.uk>2017-08-13 22:26:53 +0000
commitcbaaa295f033714ccbf4e5b54cc447f50d29011c (patch)
treef34ee0c7803ee499344e14168194928d9d95fbef /clang/test/Parser/cxx1z-nested-namespace-definition.cpp
parent6c74e32139ff7a9716d7ca0b2e57e0e8c1c58862 (diff)
downloadbcm5719-llvm-cbaaa295f033714ccbf4e5b54cc447f50d29011c.tar.gz
bcm5719-llvm-cbaaa295f033714ccbf4e5b54cc447f50d29011c.zip
Replace remaining user-visible mentions of C++1z with C++17.
llvm-svn: 310804
Diffstat (limited to 'clang/test/Parser/cxx1z-nested-namespace-definition.cpp')
-rw-r--r--clang/test/Parser/cxx1z-nested-namespace-definition.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/clang/test/Parser/cxx1z-nested-namespace-definition.cpp b/clang/test/Parser/cxx1z-nested-namespace-definition.cpp
index 96f34c540ac..e5e809aa036 100644
--- a/clang/test/Parser/cxx1z-nested-namespace-definition.cpp
+++ b/clang/test/Parser/cxx1z-nested-namespace-definition.cpp
@@ -2,13 +2,13 @@
// RUN: %clang_cc1 -fsyntax-only -verify %s
// RUN: not %clang_cc1 -x c++ -fixit %t -Werror -DFIXIT
// RUN: %clang_cc1 -x c++ %t -DFIXIT
-// RUN: %clang_cc1 -fsyntax-only -verify %s -std=c++1z -Wc++14-compat
+// RUN: %clang_cc1 -fsyntax-only -verify %s -std=c++17 -Wc++14-compat
namespace foo1::foo2::foo3 {
#if __cplusplus <= 201400L
-// expected-warning@-2 {{nested namespace definition is a C++1z extension; define each namespace separately}}
+// expected-warning@-2 {{nested namespace definition is a C++17 extension; define each namespace separately}}
#else
-// expected-warning@-4 {{nested namespace definition is incompatible with C++ standards before C++1z}}
+// expected-warning@-4 {{nested namespace definition is incompatible with C++ standards before C++17}}
#endif
int foo(int x) { return x; }
}
OpenPOWER on IntegriCloud