OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [tags/] [gnu-src/] [gcc-4.5.1/] [gcc-4.5.1-or32-1.0rc2/] [gcc/] [testsuite/] [gfortran.fortran-torture/] [compile/] [contained_3.f90] - Diff between revs 303 and 384

Only display areas with differences | Details | Blame | View Log

Rev 303 Rev 384
! Program to check using parent variables in more than one contained function
! Program to check using parent variables in more than one contained function
program contained_3
program contained_3
   implicit none
   implicit none
   integer var
   integer var
contains
contains
   subroutine one
   subroutine one
      var = 1
      var = 1
   end subroutine
   end subroutine
   subroutine two
   subroutine two
      var = 2
      var = 2
   end subroutine
   end subroutine
end program
end program
 
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.