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

Subversion Repositories openrisc

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

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

Line No. Rev Author Line
1 694 jeremybenn
! { dg-do run }
2
      integer nrow, vec(15)
3
      open (10, status="scratch")
4
      write (10, fmt='(a)') '001    1 2 3 4 5 6'
5
      write (10, fmt='(a)') '000000 7 8 9101112'
6
      write (10, fmt='(a)') '000000131415'
7
      rewind (10)
8
      read (10, fmt='(i6, (t7, 6i2))') nrow, (vec(i), i=1,15)
9
      close (10)
10
      if (nrow.ne.1) call abort
11
      if (any (vec.ne.(/1,2,3,4,5,6,7,8,9,10,11,12,13,14,15/))) call abort
12
      end

powered by: WebSVN 2.1.0

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