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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [gfortran.dg/] [ftell_2.f90] - Blame information for rev 149

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 149 jeremybenn
! { dg-do run }
2
  integer(kind=8) o
3
  open (10, status="scratch")
4
  if (ftell(10) /= 0) call abort
5
  write (10,"(A)") "1234567"
6
  if (ftell(10) /= 8 .and. ftell(10) /= 9) call abort
7
  o = ftell(10)
8
  write (10,"(A)") "1234567"
9
  if (ftell(10) /= 2 * o) call abort
10
  close (10)
11
  if (ftell(10) /= -1) call abort
12
  end

powered by: WebSVN 2.1.0

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