URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gfortran.fortran-torture/] [execute/] [arraysave.f90] - Rev 801
Go to most recent revision | Compare with Previous | Blame | View Log
! Program to test arrays with the save attributeprogram testarrayimplicit noneinteger, save, dimension (6, 5) :: a, ba = 0a(1, 1) = 42a(6, 5) = 43b(:,1:5) = acall fn (a)containssubroutine fn (a)implicit noneinteger, dimension(1:, 1:) :: ainteger, dimension(2) :: bb = ubound (a)if (any (b .ne. (/6, 5/))) call abortif (a(1, 1) .ne. 42) call abortif (a(6, 5) .ne. 43) call abortend subroutineend program
Go to most recent revision | Compare with Previous | Blame | View Log
