URL
https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk
Subversion Repositories openrisc_me
[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [gfortran.dg/] [eof_1.f90] - Rev 302
Compare with Previous | Blame | View Log
! { dg-do run }! Program to test for proper EOF errors when reading past the end of a file.! We used to get this wrong when a formatted read followed a list formatted! read.program eof_1character(len=5) :: sopen (unit=11, status="SCRATCH")write (11, '(a)') "Hello"rewind(11)read(11, *) sif (s .ne. "Hello") call abortread(11, '(a5)', end=10) scall abort10 continueclose (11)end
