summaryrefslogtreecommitdiff
path: root/test/PCH/cxx-functions.cpp
diff options
context:
space:
mode:
authorAndy Gibbs <andyg1001@hotmail.co.uk>2012-10-19 12:44:48 +0000
committerAndy Gibbs <andyg1001@hotmail.co.uk>2012-10-19 12:44:48 +0000
commit8e8fb3be5bd78f0564444eca02b404566a5f3b5d (patch)
treee97df0cbf59fac68bc269a2c75f0fa0090b3c481 /test/PCH/cxx-functions.cpp
parent4a529d26d6ccfc9b3d11031f1256f4f87055c562 (diff)
downloadclang-8e8fb3be5bd78f0564444eca02b404566a5f3b5d.tar.gz
Prior to adding the new "expected-no-diagnostics" directive to VerifyDiagnosticConsumer, make the necessary adjustment to 580 test-cases which will henceforth require this new directive.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@166280 91177308-0d34-0410-b5e6-96231b3b80d8
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 74df01a094..3b4fe77c04 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();