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/] [contained_1.f90] - Rev 302
Compare with Previous | Blame | View Log
! PR15986! Siblings may be used as actual arguments, in which case they look like! variables during parsing. Also checks that actual variables aren't replaced! by siblings with the same name! { dg-do run }module contained_1_modinteger icontainssubroutine ainteger :: c = 42call sub(b, c)end subroutine asubroutine b()i = i + 1end subroutine bsubroutine cend subroutineend modulesubroutine sub (proc, var)external proc1integer varif (var .ne. 42) call abortcall procend subroutineprogram contained_1use contained_1_modi = 0call aif (i .ne. 1) call abortend program! { dg-final { cleanup-modules "contained_1_mod" } }
