URL
https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk
Subversion Repositories openrisc_me
[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [gfortran.dg/] [pr33646.f90] - Rev 302
Compare with Previous | Blame | View Log
! { dg-do compile }! PR fortran/33646!!module BAR_MODULEimplicit noneprivatepublic create_interface create_module procedure createend interfacetype system_typeinteger(kind=kind(1)) :: max_memory_usedend typecontainssubroutine create(self)type(system_type) :: selfpointer :: selfallocate(self)end subroutineendmodule FOO_MODULEuse BAR_MODULEimplicit noneprivatepublic create_interface create_module procedure createend interfacepublic create_copy_interface create_copy_module procedure create_copyend interfacecontainssubroutine create(self)character(*) :: selfpointer :: selfnullify(self)allocate(self)self = " "end subroutinesubroutine create_copy(self,s)character(*) :: selfpointer :: selfcharacter(*) :: scall create_(self)end subroutineend! { dg-final { cleanup-modules "BAR_MODULE FOO_MODULE" } }
