Exact original malformed array declaration gets source diagnostics, with no validateLink failure.
See https://godbolt.org/z/xM9boKfff
Making the sample declaration maximally valid yields the expected warning <source>:6: error 288: object of variable length array type not supported
See https://godbolt.org/z/1cs5bcnaT
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Exact original malformed array declaration gets source diagnostics, with no validateLink failure.
See https://godbolt.org/z/xM9boKfff
Making the sample declaration maximally valid yields the expected warning
<source>:6: error 288: object of variable length array type not supportedSee https://godbolt.org/z/1cs5bcnaT
Regression test added as [r17053]
Related
Commit: [r17053]