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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-stable/] [gcc-4.5.1/] [gcc/] [testsuite/] [gfortran.dg/] [f2003_io_6.f03] - Blame information for rev 862

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

Line No. Rev Author Line
1 302 jeremybenn
! { dg-do run }
2
! Test case prepared by Jerry DeLisle  
3
! Test of decimal="comma" in namelist, checks separators
4
implicit none
5
integer :: i
6
real :: a(6) = 0.0
7
character(len=30) :: str = '&nm a = 1,3; 4, 5; 5; 7; /'
8
namelist /nm/ a
9
read(str,nml=nm,decimal='comma')
10
if (any(a.ne.[ 1.3, 4.0, 5.0, 5.0, 7.0, 0.0 ])) call abort
11
end

powered by: WebSVN 2.1.0

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