Merge branches/gcc-4_8-branch rev 208968.
[official-gcc.git] / gcc-4_8-branch / gcc / testsuite / gfortran.dg / list_read_12.f90
blob811ef152a5b3418a458518173632783c452486a5
1 ! { dg-do run }
2 ! PR58324 Bogus end of file condition
3 integer :: i, ios
4 open(99, access='stream', form='unformatted')
5 write(99) "5 a"
6 close(99)
8 open(99, access='sequential', form='formatted')
9 read(99, *, iostat=ios) i
10 if (ios /= 0) call abort
11 end