summaryrefslogtreecommitdiffstats
path: root/Tests/FortranModules/Submodules/child.f90
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/FortranModules/Submodules/child.f90')
-rw-r--r--Tests/FortranModules/Submodules/child.f9010
1 files changed, 10 insertions, 0 deletions
diff --git a/Tests/FortranModules/Submodules/child.f90 b/Tests/FortranModules/Submodules/child.f90
new file mode 100644
index 0000000..838ab61
--- /dev/null
+++ b/Tests/FortranModules/Submodules/child.f90
@@ -0,0 +1,10 @@
+! Test the notation for a 1st-generation direct
+! descendant of a parent module
+submodule ( parent ) child
+ implicit none
+contains
+ module function child_function() result(child_stuff)
+ logical :: child_stuff
+ child_stuff=.true.
+ end function
+end submodule child