diff options
author | Peter Collingbourne <peter@pcc.me.uk> | 2011-07-29 00:24:42 +0000 |
---|---|---|
committer | Peter Collingbourne <peter@pcc.me.uk> | 2011-07-29 00:24:42 +0000 |
commit | 9aab1489866a5afe1a8a3267f9ad7124034fd644 (patch) | |
tree | 46f73093f0345de562077fe08b2fb60e82b3b3e4 /test/PCH | |
parent | 1e849b6f43a6aded51466978d826e938859130db (diff) | |
download | clang-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.c | 2 |
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) { |