test cases/fortran/5 static/static_hello.f90
raw| 1 | module static_hello |
| 2 | implicit none |
| 3 | |
| 4 | private |
| 5 | public :: static_say_hello |
| 6 | |
| 7 | interface static_say_hello |
| 8 | module procedure say_hello |
| 9 | end interface static_say_hello |
| 10 | |
| 11 | contains |
| 12 | |
| 13 | subroutine say_hello |
| 14 | print *, "Static library called." |
| 15 | end subroutine say_hello |
| 16 | |
| 17 | end module static_hello |