aboutsummaryrefslogtreecommitdiff
path: root/test/PCH/cxx-namespaces.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/PCH/cxx-namespaces.cpp')
-rw-r--r--test/PCH/cxx-namespaces.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/PCH/cxx-namespaces.cpp b/test/PCH/cxx-namespaces.cpp
index 0fd3de7f6c..e0ff27c020 100644
--- a/test/PCH/cxx-namespaces.cpp
+++ b/test/PCH/cxx-namespaces.cpp
@@ -5,6 +5,8 @@
// RUN: %clang_cc1 -x c++-header -emit-pch -o %t %S/cxx-namespaces.h
// RUN: %clang_cc1 -include-pch %t -fsyntax-only -verify %s
+// expected-no-diagnostics
+
void m() {
N::x = 0;
}