URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gfortran.dg/] [host_assoc_function_4.f90] - Rev 801
Go to most recent revision | Compare with Previous | Blame | View Log
! { dg-do run }!! PR fortran/37445, in which the contained 's1' would be! ignored and the use+host associated version used.!! Contributed by Norman S Clerman < clerman@fuse.net>!MODULE M1CONTAINSinteger function S1 ()s1 = 0END functionEND MODULEMODULE M2USE M1CONTAINSSUBROUTINE S2if (s1 () .ne. 1) call abortCONTAINSinteger function S1 ()s1 = 1END functionEND SUBROUTINEEND MODULEUSE M2CALL S2END! { dg-final { cleanup-modules "m1 m2" } }
Go to most recent revision | Compare with Previous | Blame | View Log
