URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gfortran.dg/] [nested_modules_5.f90] - Rev 694
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" } }
