The following example used to not compile (error: incompatible types for
redefinition of 'array')
```
extern int array[2];
int array[] = {1};
```
Now it will compile as if `int array[2] = {1};` was used.
Unit tests were added to cover this case and also to ensure that `int
array[] = {1,2,3};` would still be invalid with the initial declaration.
_______________________________________________ Tinycc-devel mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/tinycc-devel
