OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gfortran.dg/] [ftell_1.f90] - Rev 694

Compare with Previous | Blame | View Log

! { dg-do run }
  integer(kind=8) o, o2

  open (10, status="scratch")
  call ftell (10, o)
  if (o /= 0) call abort
  write (10,"(A)") "1234567"
  call ftell (10, o)
  if (o /= 8 .and. o /= 9) call abort
  write (10,"(A)") "1234567"
  call ftell (10, o2)
  if (o2 /= 2 * o) call abort
  close (10)
  call ftell (10, o)
  if (o /= -1) call abort
  end

Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.