annotate gcc/testsuite/gfortran.dg/save_3.f90 @ 158:494b0b89df80 default tip

...
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Mon, 25 May 2020 18:13:55 +0900
parents 04ced10e8804
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
111
kono
parents:
diff changeset
1 ! { dg-do compile }
kono
parents:
diff changeset
2
kono
parents:
diff changeset
3 ! PR fortran/35837
kono
parents:
diff changeset
4 ! We used do have a problem with resolving "save all" and nested namespaces.
kono
parents:
diff changeset
5
kono
parents:
diff changeset
6 ! Contributed by Tobias Burnus <burnus@gcc.gnu.org>
kono
parents:
diff changeset
7
kono
parents:
diff changeset
8 module g95bug
kono
parents:
diff changeset
9 save
kono
parents:
diff changeset
10 integer :: i=20
kono
parents:
diff changeset
11 contains
kono
parents:
diff changeset
12 pure function tell_i() result (answer)
kono
parents:
diff changeset
13 integer :: answer
kono
parents:
diff changeset
14 answer=i
kono
parents:
diff changeset
15 end function tell_i
kono
parents:
diff changeset
16 end module g95bug