diff options
Diffstat (limited to 'Tests/FortranModules/Submodules/grandchild.f90')
-rw-r--r-- | Tests/FortranModules/Submodules/grandchild.f90 | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Tests/FortranModules/Submodules/grandchild.f90 b/Tests/FortranModules/Submodules/grandchild.f90 new file mode 100644 index 0000000..1aef63e --- /dev/null +++ b/Tests/FortranModules/Submodules/grandchild.f90 @@ -0,0 +1,8 @@ +! Test the notation for an Nth-generation descendant +! for N>1, which necessitates the colon. +submodule ( parent : child ) grandchild +contains + module subroutine grandchild_subroutine() + print *,"Test passed." + end subroutine +end submodule grandchild |