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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gfortran.dg/] [pr32535.f90] - Rev 801

Go to most recent revision | Compare with Previous | Blame | View Log

! { dg-do compile }
!
! PR32535: namelist with private items contained in sub-sub-procedure of a module rejected
!
! Contributed by Janus Weil <jaydub66@gmail.com> 

module mo
implicit none
real, private:: a,b,c

contains

  subroutine sub
    implicit none
    namelist /nl1/ a,b,c

    contains

    subroutine subsub
      implicit none
      namelist /nl2/ a,b,c
    end subroutine subsub
  end subroutine sub
end module mo

! { dg-final { cleanup-modules "mo" } }

Go to most recent revision | Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

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