new testcase

llvm-svn: 53071
This commit is contained in:
Chris Lattner 2008-07-03 03:53:40 +00:00
parent 1cb0e61e98
commit 3f26dc0bf6
1 changed files with 4 additions and 0 deletions

View File

@ -17,3 +17,7 @@ void func() {
void b; // expected-error {{variable has incomplete type 'void'}} void b; // expected-error {{variable has incomplete type 'void'}}
struct foo f; // expected-error {{variable has incomplete type 'struct foo'}} struct foo f; // expected-error {{variable has incomplete type 'struct foo'}}
} }
int h[];
int (*i)[] = &h+1; // expected-error {{arithmetic on pointer to incomplete type 'int (*)[]'}}