Fortran allocatable array

With an explicit-shape array, it’s more an aspect of the quality of implementation whether a processor detects and reports the shape mismatch at compile-time. I suspect most compilers do so.