aboutsummaryrefslogtreecommitdiff
path: root/test/Sema/function.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/Sema/function.c')
-rw-r--r--test/Sema/function.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Sema/function.c b/test/Sema/function.c
index 2a18dbb705..152205dd24 100644
--- a/test/Sema/function.c
+++ b/test/Sema/function.c
@@ -18,7 +18,7 @@ void h (const char *fmt, ...) {} //expected-error{{conflicting types for 'h'}}
// PR1965
int t5(b); // expected-error {{parameter list without types}}
-int t6(int x, g); // expected-warning {{type specifier required for parameter 'g'}}
+int t6(int x, g); // expected-warning {{type specifier missing, defaults to 'int'}}
int t7(, ); // expected-error {{expected parameter declarator}} expected-error {{expected parameter declarator}}
int t8(, int a); // expected-error {{expected parameter declarator}}