[J3] Submodule name the same as a local identifier: does that conform?

Vipul Parekh parekhvs at gmail.com
Wed Apr 13 02:17:05 UTC 2022

Consider the following:

module m
      module subroutine sub()
      end subroutine
   end interface
end module
submodule(m) sub
   module subroutine sub()
      print *, "Hello World!"
   end subroutine
end submodule

where the module subroutine has the same name as the submodule name.

Does this conform to the standard?

Vipul Parekh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.j3-fortran.org/pipermail/j3/attachments/20220412/b60def5c/attachment.htm>

More information about the J3 mailing list