Added support for resolving dimensions of multi-dimensional unsized arrays from their initializer exprerssions (previously, only the first dimension would be resolved.) Added checks to make sure that no unsized array dimensions remain after doing this (except for the first dimensision of array parameters to functions.)
6 lines
137 B
Plaintext
6 lines
137 B
Plaintext
// Illegal to declare an unsized array variable without providing an initializer expression to set its size
|
|
|
|
int func() {
|
|
int a[];
|
|
}
|