aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gfortran.dg/pr43996.f90
blob: d0a4daf3cc37b1ba6dbebe49782ee0d3ce3880bc (plain)
1
2
3
4
5
6
7
! { dg-do compile }
! PR fortran/43996
!
real, parameter :: a(720,360) = spread((/(j, j=1,720) /), dim=2, ncopies=360) ! { dg-error "number of elements" }
real x
x = a(720,360)
end