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.5.1/] [gcc/] [testsuite/] [gfortran.dg/] [advance_1.f90] - Rev 302

Compare with Previous | Blame | View Log

! { dg-do run }
! PR25463 Check that advance='no' works correctly.
! Derived from example given in PR by Thomas Koenig
! Contributed by Jerry DeLisle  <jvdelisle@gcc.gnu.org> 
program pr25463
  character(10) :: str
  write (10,'(A)',advance="no") 'ab'
  write (10,'(TL2,A)') 'c'
  rewind (10)
  read (10, '(a)') str
  if (str.ne.'abc') call abort()
  close (10, status='delete')
end

Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

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