OpenCores
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/] [save_3.f90] - Blame information for rev 308

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

Line No. Rev Author Line
1 302 jeremybenn
! { dg-do compile }
2
 
3
! PR fortran/35837
4
! We used do have a problem with resolving "save all" and nested namespaces.
5
 
6
! Contributed by Tobias Burnus 
7
 
8
module g95bug
9
save
10
integer :: i=20
11
contains
12
pure function tell_i() result (answer)
13
  integer :: answer
14
  answer=i
15
end function tell_i
16
end module g95bug
17
 
18
! { dg-final { cleanup-modules "g95bug" } }

powered by: WebSVN 2.1.0

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