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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [gfortran.fortran-torture/] [compile/] [arrayio.f90] - Blame information for rev 149

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

Line No. Rev Author Line
1 149 jeremybenn
! Program to test array IO.  Should print the numbers 1-20 in order
2
program arrayio
3
   implicit none
4
   integer, dimension(5, 4) :: a
5
   integer i, j
6
 
7
   do j=1,4
8
      a(:, j) = (/ (i + (j - 1) * 5, i=1,5) /)
9
   end do
10
 
11
   write (*) a
12
end program

powered by: WebSVN 2.1.0

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