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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [gfortran.dg/] [write_padding.f90] - Rev 827

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

! { dg-do run }
! PR25264 Verify that the internal unit, str, is not cleared
! before it is needed elsewhere.  This is an extension.
! Test derived from test case by JPR. Contributed by
! Jerry DeLisle <jvdelisle@verizon.net>.
program write_padding
   character(len=10) :: str
   real :: atime
   str = '123'
   write( str, '(a3,i1)' ) trim(str),4
   if (str.ne."1234") call abort()
end program write_padding

Go to most recent revision | 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.