summaryrefslogtreecommitdiffstats
path: root/clang/test/PCH/cxx-friends.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/PCH/cxx-friends.cpp')
-rw-r--r--clang/test/PCH/cxx-friends.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/clang/test/PCH/cxx-friends.cpp b/clang/test/PCH/cxx-friends.cpp
index bdba42bbcb5..f7d45cea8df 100644
--- a/clang/test/PCH/cxx-friends.cpp
+++ b/clang/test/PCH/cxx-friends.cpp
@@ -5,6 +5,8 @@
// RUN: %clang_cc1 -x c++-header -emit-pch -o %t %S/cxx-friends.h
// RUN: %clang_cc1 -include-pch %t -fsyntax-only -verify %s
+// expected-no-diagnostics
+
class F {
void m() {
A* a;
OpenPOWER on IntegriCloud