URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gfortran.dg/] [namelist_73.f90] - Rev 774
Go to most recent revision | Compare with Previous | Blame | View Log
! { dg-do run }
!
! PR fortran/50109
!
! Contributed by Jim Hanson
!
program namelist_test
integer nfp
namelist /indata/ nfp
nfp = 99
open(unit=4, status='scratch')
write(4,'(a)') '$indata'
write(4,'(a)') 'NFP = 5,'
write(4,'(a)') "! "
write(4,'(a)') "! "
write(4,'(a)') "! "
write(4,'(a)') '/'
rewind(4)
read (4,nml=indata)
close(4)
! write(*,*) nfp
if (nfp /= 5) call abort()
end
Go to most recent revision | Compare with Previous | Blame | View Log