Fix warning with -Wsign-compare -Wsystem-headers
[official-gcc.git] / gcc / testsuite / gfortran.fortran-torture / execute / parameter_1.f90
blobc08501ee993729c35d355641b944a844d578890d
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
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