summaryrefslogtreecommitdiffstats
path: root/Tests/FortranModules/Submodules/greatgrandchild.f90
blob: 85404eaf5112c414a98b80919cacee75fe03bd89 (plain)
1
2
3
4
5
6
7
8
! 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