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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gfortran.dg/] [fmt_t_3.f90] - Blame information for rev 694

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 694 jeremybenn
! { dg-do run }
2
! PR31051 bug with x and t format descriptors.
3
! Test case prepared by Jerry DeLisle   from PR.
4
program t
5
   integer, parameter :: n = 9
6
   character(len=40) :: fmt
7
   character(len=2), dimension(n) :: y
8
   open(unit=10, status="scratch")
9
   y = 'a '
10
   fmt = '(a,1x,(t7, 3a))'
11
   write(10, fmt) 'xxxx', (y(i), i = 1,n)
12
   rewind(10)
13
   read(10, '(a)') fmt
14
   if (fmt.ne."xxxx  a a a") call abort()
15
end program t

powered by: WebSVN 2.1.0

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