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.)
7 lines
133 B
Plaintext
7 lines
133 B
Plaintext
// Inconsistent expression list lengths found in initializer list
|
|
|
|
void foo() {
|
|
int a[2][] = { { 1, 2, 3 }, { 1, 2, 3, 4 } };
|
|
}
|
|
|