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/] [ftell_2.f90] - Rev 302
Go to most recent revision | Compare with Previous | Blame | View Log
! { dg-do run }
integer(kind=8) o
open (10, status="scratch")
if (ftell(10) /= 0) call abort
write (10,"(A)") "1234567"
if (ftell(10) /= 8 .and. ftell(10) /= 9) call abort
o = ftell(10)
write (10,"(A)") "1234567"
if (ftell(10) /= 2 * o) call abort
close (10)
if (ftell(10) /= -1) call abort
end
Go to most recent revision | Compare with Previous | Blame | View Log