'identifier' : reference to a zero-sized array is illegal
The specified reference was declared for an array with zero size.
References can only be declared for arrays with nonzero, nonconstant bounds.