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