summaryrefslogtreecommitdiffstats
path: root/test cases/fortran/12 submodule/a3.f90
diff options
context:
space:
mode:
Diffstat (limited to 'test cases/fortran/12 submodule/a3.f90')
-rw-r--r--test cases/fortran/12 submodule/a3.f9013
1 files changed, 13 insertions, 0 deletions
diff --git a/test cases/fortran/12 submodule/a3.f90 b/test cases/fortran/12 submodule/a3.f90
new file mode 100644
index 0000000..3881675
--- /dev/null
+++ b/test cases/fortran/12 submodule/a3.f90
@@ -0,0 +1,13 @@
+! submodule (bogus) foo
+! testing don't detect commented submodule
+
+submodule (a1:a2) a3 ! testing inline comment
+
+contains
+
+module procedure get_pi
+ get_pi = 4.*atan(1.)
+end procedure get_pi
+
+
+end submodule a3