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/] [generic_17.f90] - Rev 302
Compare with Previous | Blame | View Log
! { dg-do compile }! Test the patch for PR36374 in which the different! symbols for 'foobar' would be incorrectly flagged as! ambiguous in foo_mod.!! Contributed by Salvatore Filippone <sfilippone@uniroma2.it>!module s_foo_modtype s_foo_typereal(kind(1.e0)) :: vend type s_foo_typeinterface foobarsubroutine s_foobar(x)importtype(s_foo_type), intent (inout) :: xend subroutine s_foobarend interfaceend module s_foo_modmodule d_foo_modtype d_foo_typereal(kind(1.d0)) :: vend type d_foo_typeinterface foobarsubroutine d_foobar(x)importtype(d_foo_type), intent (inout) :: xend subroutine d_foobarend interfaceend module d_foo_modmodule foo_moduse s_foo_moduse d_foo_modend module foo_modsubroutine s_foobar(x)use foo_modend subroutine s_foobar! { dg-final { cleanup-modules "s_foo_mod d_foo_mod foo_mod" } }
