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.)
5 lines
135 B
Plaintext
5 lines
135 B
Plaintext
// Arrays with unsized dimensions in dimensions after the first one are illegal in function parameter lists
|
|
|
|
void func(int a[1][]) {
|
|
}
|