1// RUN: %clang_cc1 -fsyntax-only -verify %s 2// PR5515 3 4extern int a[]; 5int a[10]; 6extern int b[10]; 7int b[]; 8extern int c[1]; 9int c[] = {1,2}; // expected-error {{excess elements in array initializer}} 10 11int d[1][]; // expected-error {{array has incomplete element type 'int []'}} 12 13extern const int e[2]; // expected-note {{previous definition is here}} 14int e[] = { 1 }; // expected-error {{redefinition of 'e' with a different type: 'int []' vs 'const int [2]'}} 15