URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gfortran.dg/] [use_only_5.f90] - Rev 694
Compare with Previous | Blame | View Log
! { dg-do compile }!! PR fortran/39427!! Test case was failing with the initial version of the! constructor patch.!! Based on the Fortran XML library FoXmodule m_common_attrsimplicit noneprivatetype dict_iteminteger, allocatable :: i(:)end type dict_itemtype dictionary_tprivatetype(dict_item), pointer :: d => null()end type dictionary_tpublic :: dictionary_tpublic :: get_prefix_by_indexcontainspure function get_prefix_by_index(dict) result(prefix)type(dictionary_t), intent(in) :: dictcharacter(len=size(dict%d%i)) :: prefixend function get_prefix_by_indexend module m_common_attrsmodule m_common_namespacesuse m_common_attrs, only: dictionary_tuse m_common_attrs, only: get_prefix_by_indexend module m_common_namespaces! { dg-final { cleanup-modules "m_common_attrs m_common_namespaces" } }
