summaryrefslogtreecommitdiffstats
path: root/Tests/FortranModules/Submodules/grandchild.f90
blob: 1aef63e3103311fe35456800b35dcf522458c933 (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 : child ) grandchild
contains
  module subroutine grandchild_subroutine()
    print *,"Test passed."
  end subroutine
end submodule grandchild