commit | cd61d5956afb6505f91fc1240d2e3cd6cfc59fae | [log] [tgz] |
---|---|---|
author | Chris Lattner <sabre@nondot.org> | Tue Nov 11 06:13:16 2008 +0000 |
committer | Chris Lattner <sabre@nondot.org> | Tue Nov 11 06:13:16 2008 +0000 |
tree | 50dc81b86143c79228a31e1a6a43a553e4250d26 | |
parent | 9fb37ad3770ad89f1c818bfc6e1691c5e45c5a2b [diff] [blame] |
Fix PR3031 by silencing follow-on errors in invalid declarations. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@59027 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/Parser/declarators.c b/test/Parser/declarators.c index 3e0380e..fb7704f 100644 --- a/test/Parser/declarators.c +++ b/test/Parser/declarators.c
@@ -32,3 +32,7 @@ int test4(x, x) int x; {} /* expected-error {{redefinition of parameter 'x'}} */ + +// PR3031 +int (test5), ; // expected-error {{expected identifier or '('}} +