summaryrefslogtreecommitdiffstats
path: root/Tests/FortranModules/Submodules/main.f90
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/FortranModules/Submodules/main.f90')
-rw-r--r--Tests/FortranModules/Submodules/main.f905
1 files changed, 5 insertions, 0 deletions
diff --git a/Tests/FortranModules/Submodules/main.f90 b/Tests/FortranModules/Submodules/main.f90
new file mode 100644
index 0000000..3c750ce
--- /dev/null
+++ b/Tests/FortranModules/Submodules/main.f90
@@ -0,0 +1,5 @@
+program main
+ use parent, only : child_function,grandchild_subroutine
+ implicit none
+ if (child_function()) call grandchild_subroutine
+end program