diff options
Diffstat (limited to 'test/Sema/incomplete-decl.c')
-rw-r--r-- | test/Sema/incomplete-decl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Sema/incomplete-decl.c b/test/Sema/incomplete-decl.c index 753d9c0..e5b6d5f 100644 --- a/test/Sema/incomplete-decl.c +++ b/test/Sema/incomplete-decl.c @@ -16,7 +16,7 @@ int ary[]; // expected-warning {{tentative array definition assumed to have one struct foo bary[]; // expected-error {{array has incomplete element type 'struct foo'}} void func() { - int ary[]; // expected-error{{variable has incomplete type 'int []'}} + int ary[]; // expected-error{{definition of variable with array type needs an explicit size or an initializer}} void b; // expected-error {{variable has incomplete type 'void'}} struct foo f; // expected-error {{variable has incomplete type 'struct foo'}} } |