URL
https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk
Subversion Repositories openrisc_me
[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [gfortran.fortran-torture/] [execute/] [arrayarg2.f90] - Rev 303
Compare with Previous | Blame | View Log
! Program to test array arguments which depend on other array argumentsprogram arrayarg2integer, dimension(5) :: a, ba = (/1, 2, 3, 4, 5/)b = (/2, 3, 4, 5, 6/)call test (a, b)if (any (b .ne. (/4, 7, 10, 13, 16/))) call abortcontainssubroutine test (x1, x2)implicit noneinteger, dimension(1:), intent(in) :: x1integer, dimension(1:), intent(inout) :: x2integer, dimension(1:size(x1)) :: x3x3 = x1 * 2x2 = x2 + x3end subroutine testend program
