Debian Codegraph @

gcc/testsuite/gfortran.dg/pr43996.f90

raw
1 ! { dg-do compile }
2 ! PR fortran/43996
3 !
4 real, parameter :: a(720,360) = spread((/(j, j=1,720) /), dim=2, ncopies=360) ! { dg-error "number of elements" }
5 real x
6 x = a(720,360)
7 end