12345678910111213141516171819202122232425262728293031323334 |
- module MOD1
- end module MOD1
- module mod2
- use mod1
- integer :: mod2_int
-
-
-
- integer, parameter :: mod2_param = 5
-
- interface mod2_proc
- module procedure mod2_proc1, mod2_proc2
- end interface
- contains
- subroutine mod2_proc1(a)
- implicit none
- integer, intent(inout) :: a
- a = 10
- end subroutine
- subroutine mod2_proc2(a)
- implicit none
- real, intent(inout) :: a
- a = 10.0
- end subroutine
- end module mod2
|