summaryrefslogtreecommitdiff
path: root/test/Parser/cxx1z-nested-namespace-definition.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/Parser/cxx1z-nested-namespace-definition.cpp')
-rw-r--r--test/Parser/cxx1z-nested-namespace-definition.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Parser/cxx1z-nested-namespace-definition.cpp b/test/Parser/cxx1z-nested-namespace-definition.cpp
index e5e809aa03665..e0c5244a37348 100644
--- a/test/Parser/cxx1z-nested-namespace-definition.cpp
+++ b/test/Parser/cxx1z-nested-namespace-definition.cpp
@@ -1,5 +1,5 @@
// RUN: cp %s %t
-// RUN: %clang_cc1 -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s -std=c++98
// 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++17 -Wc++14-compat