[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
interface
module subroutine sub()
end subroutine
end interface
end module
submodule(m) sub
contains
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?
Thanks,
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