Merge from mainline (167278:168000).
[official-gcc/graphite-test-results.git] / gcc / testsuite / gfortran.dg / eoshift.f90
blobae7643bfd8f86c4819b3a8889c744d61c372e6e8
1 ! { dg-do run }
2 ! PR 18958: We used to segfault for eoshifting off the end of an array.
3 program main
4 character(len=20) line
5 write (line,'(2I4)') eoshift((/1, 3/), 3)
6 end program main