URL
                    https://opencores.org/ocsvn/openrisc/openrisc/trunk
                
            Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gfortran.dg/] [proc_ptr_comp_pass_1.f90] - Rev 694
Compare with Previous | Blame | View Log
! { dg-do run }!! PR 39630: [F03] Procedure Pointer Components with PASS!! found at http://groups.google.com/group/comp.lang.fortran/browse_thread/thread/4a827e8ced6efb0f/884b9eca6d7e6742module mymodtype :: mytypeinteger :: iprocedure(set_int_value), pointer :: setiend typeabstract interfacesubroutine set_int_value(this,i)importclass(mytype), intent(inout) :: thisinteger, intent(in) :: iend subroutine set_int_valueend interfacecontainssubroutine seti_proc(this,i)class(mytype), intent(inout) :: thisinteger, intent(in) :: ithis%i=iend subroutine seti_procend module mymodprogram Test_03use mymodimplicit nonetype(mytype) :: mm%i = 44m%seti => seti_proccall m%seti(6)if (m%i/=6) call abort()end program Test_03! { dg-final { cleanup-modules "mymod" } }
