meson/test cases/fortran/6 dynamic/dynamic.f90

18 lines
219 B
Fortran
Raw Normal View History

2015-08-30 22:13:48 +08:00
module dynamic
implicit none
2015-08-30 22:13:48 +08:00
private
public :: hello
2015-08-30 22:13:48 +08:00
interface hello
module procedure say
end interface hello
2015-08-30 22:13:48 +08:00
contains
subroutine say
print *, "Hello from shared library."
end subroutine say
2015-08-30 22:13:48 +08:00
end module dynamic