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/] [fmt_t_3.f90] - Rev 414
Go to most recent revision | Compare with Previous | Blame | View Log
! { dg-do run }
! PR31051 bug with x and t format descriptors.
! Test case prepared by Jerry DeLisle <jvdelisle@gcc.gnu.org> from PR.
program t
integer, parameter :: n = 9
character(len=40) :: fmt
character(len=2), dimension(n) :: y
open(unit=10, status="scratch")
y = 'a '
fmt = '(a,1x,(t7, 3a))'
write(10, fmt) 'xxxx', (y(i), i = 1,n)
rewind(10)
read(10, '(a)') fmt
if (fmt.ne."xxxx a a a") call abort()
end program t
Go to most recent revision | Compare with Previous | Blame | View Log