summaryrefslogtreecommitdiffstats
path: root/test cases/fortran/12 submodule/child.f90
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--test cases/fortran/12 submodule/child.f9013
1 files changed, 13 insertions, 0 deletions
diff --git a/test cases/fortran/12 submodule/child.f90 b/test cases/fortran/12 submodule/child.f90
new file mode 100644
index 0000000..baf1fef
--- /dev/null
+++ b/test cases/fortran/12 submodule/child.f90
@@ -0,0 +1,13 @@
+submodule (parent) child
+
+contains
+
+module procedure pi2tau
+ pi2tau = 2*pi
+end procedure pi2tau
+
+module procedure good
+print *, 'Good!'
+end procedure good
+
+end submodule child