Sign in
gnu
/
gcc
/
1f16a020acbea0af26209478990b83b1a1ba3a2b
/
.
/
gcc
/
testsuite
/
gfortran.fortran-torture
/
compile
/
arrayio.f90
blob: 8c333d437d292d3d11bb9641d3ad4dd9f572dd24 [
file
] [
log
] [
blame
]
!
Program
to test array IO
.
Should
print
the numbers
1
-
20
in
order
program arrayio
implicit
none
integer
,
dimension
(
5
,
4
)
::
a
integer i
,
j
do
j
=
1
,
4
a
(:,
j
)
=
(
/ (i + (j - 1) * 5, i=1,5) /
)
end
do
write
(*,*)
a
end
program