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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [gfortran.dg/] [write_padding.f90] - Blame information for rev 414

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

Line No. Rev Author Line
1 302 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.