URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gfortran.dg/] [streamio_16.f90] - Rev 694
Compare with Previous | Blame | View Log
! { dg-do run }! PR38291 Rejects I/O with POS= if FMT=*character(15) :: sAccesscharacter(1) :: instrinteger :: mypos, imypos = 0open(50, access="stream", form="formatted")write(50, *, pos=1) "Just something "do i=1,17read( 50, *,pos=i)inquire(50, access=sAccess, pos=mypos)if (sAccess.ne."STREAM") call abortif ((mypos.ne.18).and.(mypos.ne.19)) call abortend doread (50,*, end=10)call abort10 continueclose(50,status="delete")end
