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/] [use_5.f90] - Rev 302
Compare with Previous | Blame | View Log
! { dg-do run }! Renaming of operatorsmodule zinterface operator(.addfive.)module procedure sub2end interfacecontainsfunction sub2(x)integer :: subinteger,intent(in) :: xsub2 = x + 5end function sub2end module zmodule yinterface operator(.addfive.)module procedure subend interfacecontainsfunction sub(x)integer :: subinteger,intent(in) :: xsub = x + 15end function subend module ymodule xinterface operator(.addfive.)module procedure subend interfacecontainsfunction sub(x)integer :: subinteger,intent(in) :: xsub = x + 25end function subend module xuse x, only : operator(.bar.) => operator(.addfive.)use y, operator(.my.) => operator(.addfive.)use zinteger :: ii = 2if ((.bar. i) /= 2+25) call abort ()if ((.my. i) /= 2+15) call abort ()if ((.addfive. i) /= 2+5) call abort ()end! { dg-final { cleanup-modules "x y z" } }
