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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [gfortran.dg/] [fmt_zero_digits.f90] - Blame information for rev 853

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

Line No. Rev Author Line
1 149 jeremybenn
! { dg-do run }
2
! Verify that when decimal precision is zero, no error.
3
! Submitted by Jerry DeLisle  
4
program test
5
  character(20) :: astr
6
  50 FORMAT (d20.0)
7
  astr = ""
8
  write(astr,50) -8.0D0
9
  if (astr.ne."              0.D+01") call abort()
10
end program test

powered by: WebSVN 2.1.0

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