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 | 3bc84ca376a29e883d09c03b25127c3993cdf55a (patch) | |
tree | ab6ef2200205b0dfee1bcde866c71298723069d0 /clang/test/Sema/exprs.c | |
parent | 8ab4ea8571ae644dc15f7cc77af03ac0a499c3fb (diff) | |
download | bcm5719-llvm-3bc84ca376a29e883d09c03b25127c3993cdf55a.tar.gz bcm5719-llvm-3bc84ca376a29e883d09c03b25127c3993cdf55a.zip |
Fix an inconsistency in Sema::ConvertArgumentsForCall in that
the callee note diagnostic was not emitted in the case where
there were too few arguments.
llvm-svn: 136437
Diffstat (limited to 'clang/test/Sema/exprs.c')
-rw-r--r-- | clang/test/Sema/exprs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/Sema/exprs.c b/clang/test/Sema/exprs.c index 9ce1481f16c..460f72cb174 100644 --- a/clang/test/Sema/exprs.c +++ b/clang/test/Sema/exprs.c @@ -163,7 +163,7 @@ void test17(int x) { } // PR6501 -void test18_a(int a); // expected-note {{'test18_a' declared here}} +void test18_a(int a); // expected-note 2 {{'test18_a' declared here}} void test18(int b) { test18_a(b, b); // expected-error {{too many arguments to function call, expected 1, have 2}} test18_a(); // expected-error {{too few arguments to function call, expected 1, have 0}} |