blob: d2deed17e04a8dc454129f421c9c0395a4fbb28f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
! { dg-do compile }
! PR fortran/35837
! We used do have a problem with resolving "save all" and nested namespaces.
! Contributed by Tobias Burnus <burnus@gcc.gnu.org>
module g95bug
save
integer :: i=20
contains
pure function tell_i() result (answer)
integer :: answer
answer=i
end function tell_i
end module g95bug
|