c2lang/c2compiler

Multi-dimensional array inits don't use correct size (num columns vs rows etc)

Closed this issue · 1 comments

i32 a[3][4] = {
{0, 1, 2, 3} , /* initializers for row indexed by 0 /
{4, 5, 6, 7} , /
initializers for row indexed by 1 /
{8, 9, 10, 11} /
initializers for row indexed by 2 */
};
should work

fixed