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

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 149 jeremybenn
! { dg-do run }
2
! PR25264 Verify that the internal unit, str, is not cleared
3
! before it is needed elsewhere.  This is an extension.
4
! Test derived from test case by JPR. Contributed by
5
! Jerry DeLisle .
6
program write_padding
7
   character(len=10) :: str
8
   real :: atime
9
   str = '123'
10
   write( str, '(a3,i1)' ) trim(str),4
11
   if (str.ne."1234") call abort()
12
end program write_padding
13
 

powered by: WebSVN 2.1.0

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