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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gfortran.fortran-torture/] [execute/] [parameter_1.f90] - Blame information for rev 760

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

Line No. Rev Author Line
1 695 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.