diff options
author | Chris Lattner <sabre@nondot.org> | 2008-01-31 06:10:07 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2008-01-31 06:10:07 +0000 |
commit | 7f024fe0c605c3a9177a7166db23cd1061d189c8 (patch) | |
tree | 492f50ef13c4b73d5c7b74ff25e6f1c221ab0165 /clang/test/Parser/declarators.c | |
parent | 4973fb9273332128edd94717c250deb541b0fa0e (diff) | |
download | bcm5719-llvm-7f024fe0c605c3a9177a7166db23cd1061d189c8.tar.gz bcm5719-llvm-7f024fe0c605c3a9177a7166db23cd1061d189c8.zip |
Fix PR1965: missing diagnostics for parameters that are missing
type specifiers. This required updating some (buggy) tests, and the
testcase was previously accidentally committed.
llvm-svn: 46603
Diffstat (limited to 'clang/test/Parser/declarators.c')
-rw-r--r-- | clang/test/Parser/declarators.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/Parser/declarators.c b/clang/test/Parser/declarators.c index 91cd81653bf..e00035c8e0f 100644 --- a/clang/test/Parser/declarators.c +++ b/clang/test/Parser/declarators.c @@ -6,7 +6,7 @@ void f0(); void f1(int [*]); void f2(int [const *]); void f3(int [volatile const*]); -int f4(*XX)(void); /* expected-error {{cannot return}} */ +int f4(*XX)(void); /* expected-error {{cannot return}} expected-error {{type specifier required}} */ char ((((*X)))); |