module objmod implicit none contains subroutine hello() print '(a)', "hello world" end subroutine hello end module objmod