URL
https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk
Go to most recent revision |
Only display areas with differences |
Details |
Blame |
View Log
Rev 149 |
Rev 154 |
! { dg-do run }
|
! { dg-do run }
|
! PR25631 Check that TL editing works for special case of no bytes written yet.
|
! PR25631 Check that TL editing works for special case of no bytes written yet.
|
! Contributed by Jerry DeLisle <jvdelisle@gcc.gnu.org>
|
! Contributed by Jerry DeLisle <jvdelisle@gcc.gnu.org>
|
real x
|
real x
|
character*15 line
|
character*15 line
|
x = 12.34
|
x = 12.34
|
write(line,10) x
|
write(line,10) x
|
10 format(tr2,tl2,g11.4)
|
10 format(tr2,tl2,g11.4)
|
if (line.ne.' 12.34 ') call abort()
|
if (line.ne.' 12.34 ') call abort()
|
write(line,20) x
|
write(line,20) x
|
20 format(tr5,tl3,g11.4)
|
20 format(tr5,tl3,g11.4)
|
if (line.ne.' 12.34 ') call abort()
|
if (line.ne.' 12.34 ') call abort()
|
write(line,30) x
|
write(line,30) x
|
30 format(tr5,tl3,tl3,g11.4)
|
30 format(tr5,tl3,tl3,g11.4)
|
if (line.ne.' 12.34 ') call abort()
|
if (line.ne.' 12.34 ') call abort()
|
write(line,40) x
|
write(line,40) x
|
40 format(tr25,tl35,f11.4)
|
40 format(tr25,tl35,f11.4)
|
if (line.ne.' 12.3400 ') call abort()
|
if (line.ne.' 12.3400 ') call abort()
|
write(line,50) x
|
write(line,50) x
|
50 format(tl5,tr3,f11.4)
|
50 format(tl5,tr3,f11.4)
|
if (line.ne.' 12.3400 ') call abort()
|
if (line.ne.' 12.3400 ') call abort()
|
write(line,60) x
|
write(line,60) x
|
60 format(t5,tl3,f11.4)
|
60 format(t5,tl3,f11.4)
|
if (line.ne.' 12.3400 ') call abort()
|
if (line.ne.' 12.3400 ') call abort()
|
end
|
end
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.