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

Subversion Repositories openrisc

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

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 149 jeremybenn
! { dg-do run }
2
! PR25463 Check that advance='no' works correctly.
3
! Derived from example given in PR by Thomas Koenig
4
! Contributed by Jerry DeLisle  
5
program pr25463
6
  character(10) :: str
7
  write (10,'(A)',advance="no") 'ab'
8
  write (10,'(TL2,A)') 'c'
9
  rewind (10)
10
  read (10, '(a)') str
11
  if (str.ne.'abc') call abort()
12
  close (10, status='delete')
13
end

powered by: WebSVN 2.1.0

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