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] - Rev 303

Go to most recent revision | Compare with Previous | Blame | View Log

! Program to test array parameter variables.
program parameter_1
  implicit none
  integer i
  INTEGER, PARAMETER :: ii(10) = (/ (I,I=1,10) /)
  REAL, PARAMETER    :: rr(10) = ii

  do i = 1, 10
    if (ii(i) /= i) call abort()
    if (rr(i) /= i) call abort()
  end do
end program parameter_1

Go to most recent revision | Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

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