aboutsummaryrefslogtreecommitdiff
path: root/test/Sema/init.c
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2008-11-11 06:13:16 +0000
committerChris Lattner <sabre@nondot.org>2008-11-11 06:13:16 +0000
commit1f6f54be86a514d531ec231fd837858a43cfe72e (patch)
tree50dc81b86143c79228a31e1a6a43a553e4250d26 /test/Sema/init.c
parent48f475335a5250abb0936d7fef492c3b1dd44760 (diff)
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
Diffstat (limited to 'test/Sema/init.c')
-rw-r--r--test/Sema/init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Sema/init.c b/test/Sema/init.c
index c08500834f..ff48b8f528 100644
--- a/test/Sema/init.c
+++ b/test/Sema/init.c
@@ -16,7 +16,7 @@ int *h = &x;
int test() {
int a[10];
int b[10] = a; // expected-error {{initialization with "{...}" expected}}
-int +; // expected-error {{expected identifier or '('}} expected-error {{declarator requires an identifier}} expected-error {{parse error}}
+int +; // expected-error {{expected identifier or '('}} expected-error {{parse error}}
}