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

Subversion Repositories scarts

[/] [scarts/] [trunk/] [toolchain/] [scarts-gcc/] [gcc-4.1.1/] [gcc/] [testsuite/] [gfortran.fortran-torture/] [execute/] [parameter_1.f90] - Blame information for rev 12

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 12 jlechner
! 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.