aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/gfortran.dg/eoshift.f90
blob: ae7643bfd8f86c4819b3a8889c744d61c372e6e8 (plain)
1
2
3
4
5
6
! { dg-do run }
! PR 18958:  We used to segfault for eoshifting off the end of an array.
program main
  character(len=20) line
  write (line,'(2I4)') eoshift((/1, 3/), 3)
end program main