summaryrefslogtreecommitdiff
path: root/test/PCH
diff options
context:
space:
mode:
authorPeter Collingbourne <peter@pcc.me.uk>2011-07-29 00:24:42 +0000
committerPeter Collingbourne <peter@pcc.me.uk>2011-07-29 00:24:42 +0000
commit9aab1489866a5afe1a8a3267f9ad7124034fd644 (patch)
tree46f73093f0345de562077fe08b2fb60e82b3b3e4 /test/PCH
parent1e849b6f43a6aded51466978d826e938859130db (diff)
downloadclang-9aab1489866a5afe1a8a3267f9ad7124034fd644.tar.gz
Fix an inconsistency in Sema::ConvertArgumentsForCall in that
the callee note diagnostic was not emitted in the case where there were too few arguments. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@136437 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/PCH')
-rw-r--r--test/PCH/functions.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/PCH/functions.c b/test/PCH/functions.c
index 23becb60e8..35e3921058 100644
--- a/test/PCH/functions.c
+++ b/test/PCH/functions.c
@@ -4,7 +4,7 @@
// Test with pch.
// RUN: %clang_cc1 -emit-pch -o %t %S/functions.h
// RUN: %clang_cc1 -include-pch %t -fsyntax-only -verify %s
-
+// expected-note{{'f1' declared here}}
int f0(int x0, int y0, ...) { return x0 + y0; }
// expected-note{{passing argument to parameter here}}
float *test_f1(int val, double x, double y) {