cmake/Tests/FortranModules/Submodules/greatgrandchild.f90

9 lines
276 B
Fortran
Raw Normal View History

2018-08-09 18:06:22 +02:00
! Test the notation for an Nth-generation descendant
! for N>1, which necessitates the colon.
submodule ( parent : grandchild ) GreatGrandChild
contains
module subroutine GreatGrandChild_subroutine()
print *,"Test passed."
end subroutine
end submodule GreatGrandChild