summaryrefslogtreecommitdiffstats
path: root/test/PCH/cxx-functions.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/PCH/cxx-functions.cpp')
-rw-r--r--test/PCH/cxx-functions.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/PCH/cxx-functions.cpp b/test/PCH/cxx-functions.cpp
index 74df01a..3b4fe77 100644
--- a/test/PCH/cxx-functions.cpp
+++ b/test/PCH/cxx-functions.cpp
@@ -4,6 +4,8 @@
// RUN: %clang_cc1 -x c++-header -emit-pch -o %t %S/cxx-functions.h
// RUN: %clang_cc1 -include-pch %t -fsyntax-only -verify %s
+// expected-no-diagnostics
+
void test_foo() {
foo();
OpenPOWER on IntegriCloud