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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-stable/] [gcc-4.5.1/] [gcc/] [testsuite/] [gfortran.dg/] [comma.f] - Blame information for rev 302

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

Line No. Rev Author Line
1 302 jeremybenn
! { dg-do run { target fd_truncate } }
2
! PR25419 Default input with commas.
3
! Derived from example given in PR.
4
! Contributed by Jerry DeLisle  <jvdelisle@gcc.gnu.org> 
5
      stuff = 1
6
      stuff2 = 2
7
      write(11,'(a)') ",,"
8
      rewind(11)
9
      read(11,*)stuff, stuff2
10
      if (stuff.ne.1.0) call abort()
11
      if (stuff2.ne.2.0) call abort()
12
      rewind (11)
13
      write(11,'(a)') ","
14
      rewind(11)
15
      read(11,*)stuff
16
      if (stuff.ne.1.0) call abort()
17
      close(11, status='delete')
18
      end
19
 

powered by: WebSVN 2.1.0

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