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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gfortran.dg/] [fmt_read.f90] - Blame information for rev 774

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

Line No. Rev Author Line
1 694 jeremybenn
! { dg-do run }
2
! pr18398, missing data on sequential formatted reads
3
! test contributed by Thomas.Koenig@online.de
4
      open(7,status='scratch')
5
      write (7,'(F12.5)') 1.0, 2.0, 3.0
6
      rewind(7)
7
      read(7,'(F15.5)') a,b
8
!   note the read format is wider than the write
9
      if (abs(a-1.0) .gt. 1e-5) call abort
10
      if (abs(b-2.0) .gt. 1e-5) call abort
11
      end

powered by: WebSVN 2.1.0

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