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

Subversion Repositories scarts

[/] [scarts/] [trunk/] [toolchain/] [scarts-gcc/] [gcc-4.1.1/] [gcc/] [testsuite/] [gfortran.fortran-torture/] [compile/] [arrayio.f90] - Blame information for rev 12

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 12 jlechner
! 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.