diff options
Diffstat (limited to 'Tests/FortranModules/Submodules/parent.f90')
-rw-r--r-- | Tests/FortranModules/Submodules/parent.f90 | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/Tests/FortranModules/Submodules/parent.f90 b/Tests/FortranModules/Submodules/parent.f90 new file mode 100644 index 0000000..7693a72 --- /dev/null +++ b/Tests/FortranModules/Submodules/parent.f90 @@ -0,0 +1,17 @@ +module parent + implicit none + + interface + + ! Test Fortran 2008 "module function" syntax + module function child_function() result(child_stuff) + logical :: child_stuff + end function + + ! Test Fortran 2008 "module subroutine" syntax + module subroutine grandchild_subroutine() + end subroutine + + end interface + +end module parent |