summaryrefslogtreecommitdiffstats
path: root/clang/test/Sema/function.c
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/Sema/function.c')
-rw-r--r--clang/test/Sema/function.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/Sema/function.c b/clang/test/Sema/function.c
index aec76a26ebd..e604d0e1ea1 100644
--- a/clang/test/Sema/function.c
+++ b/clang/test/Sema/function.c
@@ -27,7 +27,7 @@ int t9(int a, ); // expected-error {{expected parameter declarator}}
// PR2042
void t10(){}
-void t11(){t10(1);}
+void t11(){t10(1);} // expected-warning{{too many arguments}}
// PR3208
void t12(int) {} // expected-error{{parameter name omitted}}
OpenPOWER on IntegriCloud