aboutsummaryrefslogtreecommitdiff
path: root/test/Sema/decl-invalid.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/Sema/decl-invalid.c')
-rw-r--r--test/Sema/decl-invalid.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/Sema/decl-invalid.c b/test/Sema/decl-invalid.c
index 051f0f7ffbcc..823551f02e6f 100644
--- a/test/Sema/decl-invalid.c
+++ b/test/Sema/decl-invalid.c
@@ -10,8 +10,7 @@ int a() {
int r[x()]; // expected-error {{size of array has non-integer type 'void'}}
static y ?; // expected-error{{unknown type name 'y'}} \
- expected-error{{expected identifier or '('}} \
- expected-error{{expected ';' at end of declaration}}
+ expected-error{{expected identifier or '('}}
}
int; // expected-error {{declaration does not declare anything}}