URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [tags/] [gnu-src/] [gcc-4.5.1/] [gcc-4.5.1-or32-1.0rc3/] [gcc/] [testsuite/] [gfortran.dg/] [dev_null.F90] - Rev 302
Go to most recent revision | Compare with Previous | Blame | View Log
! { dg-do run }
! { dg-options "-std=legacy" }
!
! pr19478 read from /dev/null
! Thomas.Koenig@online.de
#if defined _WIN32
#define DEV_NULL "nul"
#else
#define DEV_NULL "/dev/null"
#endif
character*20 foo
open(10,file=DEV_NULL)
write(10,'(A)') "Hello"
rewind(10)
read(10,'(A)',end=100) foo
call abort
100 continue
end
Go to most recent revision | Compare with Previous | Blame | View Log