Open sezero opened 11 months ago
Thank you for your bug report. It looks like a problem with arrays in general. I've added a link to other issues that relate to array processing. There is also a problem with arrays in aggregate initialization that array processing will require complete rework. The problem is that the array type is transformed to a pointer too soon and the relevant information is lost.
As seen from the test case below, only the C++ compiler catches all 3, whereas the C compiler only catches the plain array variable.
OW toolchain is the CI build from commit af51255ab6905fa083c6f8955c4cd1b3a70b39f0