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/] [nested_modules_5.f90] - Rev 302
Compare with Previous | Blame | View Log
! { dg-do compile }! { dg-options "-std=legacy" }!! Test for supplementary fix to PR24409 - the name clash between the module! variable and the interface formal argument would cause an ICE.!! Contributed by Paul Thomas <pault@gcc.gnu.org>!module anythinginterfacefunction lc(string )character(len=*), intent(in) :: stringcharacter(len=len(string )) :: lcend function lcend interfacecharacter(len=12) :: stringend module anythingmodule serialuse anythingend module serialuse serialuse anythingcharacter*15 :: bufferbuffer = lc ("Have a Nice DAY")end! { dg-final { cleanup-modules "anything serial" } }
