1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73
|
subroutine save_sub()
integer :: i, j
save
real :: k, l
double precision :: m(5), n(5, 5), o(5, 6, 7)
end subroutine
subroutine save_nested_sub()
integer :: i, j
contains
subroutine save_sub()
save
real :: k, l
double precision :: m(5), n(5, 5), o(5, 6, 7)
end subroutine
real function save_func()
save
real :: k, l
double precision :: m(5), n(5, 5), o(5, 6, 7)
end function
end subroutine
real function save_func()
integer :: i, j
save
real :: k, l
double precision :: m(5), n(5, 5), o(5, 6, 7)
end function
real function save_nested_func()
integer :: i, j
contains
real function save_func()
save
real :: k, l
double precision :: m(5), n(5, 5), o(5, 6, 7)
end function
subroutine save_sub()
save
real :: k, l
double precision :: m(5), n(5, 5), o(5, 6, 7)
end subroutine
end function
module save_module_03
integer :: i, j
save
real :: k, l
contains
subroutine save_sub_mod()
integer :: i, j
save
real :: k, l
double precision :: m(5), n(5, 5), o(5, 6, 7)
end subroutine
real function save_func_mod()
integer :: i, j
save
real :: k, l
double precision :: m(5), n(5, 5), o(5, 6, 7)
end function
end module
program save_03
integer :: i, j
save
real :: k, l
double precision :: m(5), n(5, 5), o(5, 6, 7)
end program
|