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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-stable/] [gcc-4.5.1/] [gcc/] [testsuite/] [gfortran.fortran-torture/] [execute/] [parameter_1.f90] - Blame information for rev 826

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 303 jeremybenn
! 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) call abort()
10
    if (rr(i) /= i) call abort()
11
  end do
12
end program parameter_1

powered by: WebSVN 2.1.0

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