PR target/83368
[official-gcc.git] / gcc / testsuite / gfortran.dg / pr43996.f90
blobd0a4daf3cc37b1ba6dbebe49782ee0d3ce3880bc
1 ! { dg-do compile }
2 ! PR fortran/43996
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