URL
https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk
Subversion Repositories openrisc_2011-10-31
[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.2.2/] [gcc/] [testsuite/] [gfortran.dg/] [sibling_dummy_procedure_1.f90] - Rev 154
Compare with Previous | Blame | View Log
! { dg-do compile }
! This checks the fix for PR 26041.
!
! Contributed by H.J. Lu <hongjiu.lu@intel.com>
module foo
public bar_
interface bar_
module procedure bar
end interface
public xxx_
interface xxx_
module procedure xxx
end interface
contains
subroutine bar(self, z)
interface
function self(z) result(res)
real z
real(kind=kind(1.0d0)) :: res
end function
end interface
end subroutine
subroutine xxx(self,z)
interface
function self(z) result(res)
real z
real(kind=kind(1.0d0)) :: res
end function
end interface
call bar(self, z)
end subroutine
end
! { dg-final { cleanup-modules "foo" } }