aboutsummaryrefslogtreecommitdiff
path: root/test/Sema/function.c
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2008-04-05 06:32:51 +0000
committerChris Lattner <sabre@nondot.org>2008-04-05 06:32:51 +0000
commitd658b562e80d6ef7a1118e34ff12802c6e2fcced (patch)
tree702deb2a68acdb5c9cc32f9a39e1982b829c3764 /test/Sema/function.c
parenta798ebc82627ea9cb7a00da07d2b60f9f2114f69 (diff)
Fix handling of implicit int, resolving PR2012 and reverting (and
subsuming) my patch for PR1999. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@49251 91177308-0d34-0410-b5e6-96231b3b80d8
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}}