URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gfortran.dg/] [proc_decl_12.f90] - Rev 694
Compare with Previous | Blame | View Log
! { dg-do run }!! This tests the (partial) fix for PR35830, i.e. handling array arguments! with the PROCEDURE statement.!! Contributed by Janus Weil <janus@gcc.gnu.org>module mcontainssubroutine one(a)integer a(1:3)if (any(a /= [1,2,3])) call abort()end subroutine oneend module mprogram testuse mimplicit nonecall foo(one)containssubroutine foo(f)procedure(one) :: fcall f([1,2,3])end subroutine fooend program test! { dg-final { cleanup-modules "m" } }
