URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gfortran.dg/] [dev_null.F90] - Rev 708
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