summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gfortran.dg/pr19936_1.f90
blob: 440c1d9d7026ed3f564ddb2d7c549e0bf8e6bf07 (plain)
1
2
3
4
5
! { dg-do compile }
program pr19936_1
  integer, parameter :: i=4
  print *,(/(i,i=1,4)/) ! { dg-error "variable definition context" }
end program pr19936_1