OSDN Git Service

2005-09-14 Jerry DeLisle <jvdelisle@verizon.net>
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gfortran.dg / arrayio_5.f90
1 ! { dg-do run }
2 ! PR 21875 : Test formatted input/output to/from character arrays.
3 ! This test checks the error checking for end of file condition.
4 program arrayio_5
5   implicit none
6   integer        :: i,ierr
7   character(12)  :: r(10) = '0123456789AB'
8
9   write(r,'(i12)',iostat=ierr) 1,2,3,4,5,6,7,8,9,10,11
10   if (ierr.ne.-1) call abort()
11  end program arrayio_5
12