URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gfortran.dg/] [pr32738.f90] - Rev 694
Compare with Previous | Blame | View Log
! { dg-do compile }! PR fortran/32738!! A regression that mysteriously appeared and disappeared again.! Added to the testsuite "just in case".!! Contributed by Michael Richmond <michael DOT a DOT richmond AT nasa DT gov>!module cluster_definitionimplicit noneinteger, parameter, public:: cluster_size = 1000end module cluster_definitionmodule cluster_treeuse cluster_definition, only: ct_cluster_size => cluster_sizeimplicit noneprivateprivate:: ct_initialize, ct_dealloc, ct_tree_sizepublic:: initialize, dealloc, tree_sizeinterface initializemodule procedure ct_initializeend interfaceinterface deallocmodule procedure ct_deallocend interfaceinterface tree_sizemodule procedure ct_tree_sizeend interfacecontainssubroutine ct_initialize()end subroutine ct_initializesubroutine ct_dealloc()end subroutine ct_deallocfunction ct_tree_size(t) result(s)integer :: tinteger :: ss = 0end function ct_tree_sizeend module cluster_treeprogram exampleuse cluster_treeimplicit noneprint *, tree_size(1)end program example! { dg-final { cleanup-modules "cluster_definition cluster_tree" } }
