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.dg/] [pr32535.f90] - Blame information for rev 384

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 302 jeremybenn
! { dg-do compile }
2
!
3
! PR32535: namelist with private items contained in sub-sub-procedure of a module rejected
4
!
5
! Contributed by Janus Weil 
6
 
7
module mo
8
implicit none
9
real, private:: a,b,c
10
 
11
contains
12
 
13
  subroutine sub
14
    implicit none
15
    namelist /nl1/ a,b,c
16
 
17
    contains
18
 
19
    subroutine subsub
20
      implicit none
21
      namelist /nl2/ a,b,c
22
    end subroutine subsub
23
  end subroutine sub
24
end module mo
25
 
26
! { 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.