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/] [dos_eol.f] - Blame information for rev 154

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 149 jeremybenn
! PR libfortran/19678 and PR libfortran/19679
2
! { dg-do run }
3
      integer i, j
4
 
5
      open (10,status='scratch')
6
      write (10,'(2A)') '1', achar(13)
7
      rewind (10)
8
      read (10,*) i
9
      if (i .ne. 1) call abort
10
      close (10)
11
 
12
      open (10,status='scratch')
13
      write (10,'(2A)') '   1', achar(13)
14
      write (10,'(2A)') '   2', achar(13)
15
      rewind (10)
16
      read (10,'(I4)') i
17
      read (10,'(I5)') j
18
      if ((i .ne. 1) .or. (j .ne. 2)) call abort
19
      end

powered by: WebSVN 2.1.0

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