(root)/
gcc-13.2.0/
gcc/
testsuite/
gfortran.dg/
data_implied_do_2.f90
! { dg-do compile }
! PR fortran/84134 - this used to ICE.
! Test case by Gerhard Steinmetz

program p
   integer :: i, x(3)
   data (x(i+1:i+2:i),i=0,1) /1,2,3/ ! { dg-error "Nonconstant array section" }
end