summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gfortran.dg/internal_write_1.f90
blob: 3dfcaad2677c9c4e10524f2bd83207d02cab1e0a (plain)
1
2
3
4
5
6
7
8
9
! { dg-do run }
! { dg-shouldfail "End of file" }
program main
  character(len=20) :: line
  integer, dimension(4) :: n
  n = 1
  write(line,'(2I2)') n
end program main
! { dg-output "Fortran runtime error: End of file" }