OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [tags/] [gnu-src/] [gcc-4.5.1/] [gcc-4.5.1-or32-1.0rc2/] [gcc/] [testsuite/] [gfortran.dg/] [pr32535.f90] - Diff between revs 302 and 384

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

Rev 302 Rev 384
! { dg-do compile }
! { dg-do compile }
!
!
! PR32535: namelist with private items contained in sub-sub-procedure of a module rejected
! PR32535: namelist with private items contained in sub-sub-procedure of a module rejected
!
!
! Contributed by Janus Weil 
! Contributed by Janus Weil 
module mo
module mo
implicit none
implicit none
real, private:: a,b,c
real, private:: a,b,c
contains
contains
  subroutine sub
  subroutine sub
    implicit none
    implicit none
    namelist /nl1/ a,b,c
    namelist /nl1/ a,b,c
    contains
    contains
    subroutine subsub
    subroutine subsub
      implicit none
      implicit none
      namelist /nl2/ a,b,c
      namelist /nl2/ a,b,c
    end subroutine subsub
    end subroutine subsub
  end subroutine sub
  end subroutine sub
end module mo
end module mo
! { dg-final { cleanup-modules "mo" } }
! { dg-final { cleanup-modules "mo" } }
 
 

powered by: WebSVN 2.1.0

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