OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.2.2/] [gcc/] [testsuite/] [gfortran.dg/] [ftell_1.f90] - Blame information for rev 154

Details | Compare with Previous | View Log

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

powered by: WebSVN 2.1.0

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