Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gfortran.dg/save_3.f90 @ 131:84e7813d76e9
gcc-8.2
author | mir3636 |
---|---|
date | Thu, 25 Oct 2018 07:37:49 +0900 (2018-10-24) |
parents | 04ced10e8804 |
children |
line wrap: on
line source
! { 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