summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gfortran.dg/data_array_4.f90
blob: 3df30317eba8e6d588567e5a3422dfe598de06c4 (plain)
1
2
3
4
5
6
7
! { dg-do compile }
! PR32928 DATA statement with array element as initializer is rejected
IMPLICIT NONE
INTEGER , PARAMETER :: NTAB = 3
REAL :: SR(NTAB) , SR3(NTAB)
DATA SR/NTAB*0.0/ , SR3/NTAB*0.0/
end