repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Fix warning with -Wsign-compare -Wsystem-headers
[official-gcc.git]
/
gcc
/
testsuite
/
gfortran.fortran-torture
/
execute
/
parameter_1.f90
blob
c08501ee993729c35d355641b944a844d578890d
1
! Program to test array parameter variables.
2
program
parameter_1
3
implicit none
4
integer
i
5
INTEGER
,
PARAMETER
::
ii
(
10
) = (/ (
I
,
I
=
1
,
10
) /)
6
REAL
,
PARAMETER
::
rr
(
10
) =
ii
7
8
do
i
=
1
,
10
9
if
(
ii
(
i
) /=
i
)
STOP
1
10
if
(
rr
(
i
) /=
i
)
STOP
2
11
end do
12
end program
parameter_1