aboutsummaryrefslogtreecommitdiff
path: root/example_project/src
diff options
context:
space:
mode:
Diffstat (limited to 'example_project/src')
-rw-r--r--example_project/src/Hello_m.f9012
1 files changed, 12 insertions, 0 deletions
diff --git a/example_project/src/Hello_m.f90 b/example_project/src/Hello_m.f90
new file mode 100644
index 0000000..60088a2
--- /dev/null
+++ b/example_project/src/Hello_m.f90
@@ -0,0 +1,12 @@
+module Hello_m
+ implicit none
+ private
+
+ public :: sayHello
+contains
+ subroutine sayHello(name)
+ character(len=*), intent(in) :: name
+
+ print *, "Hello, " // name // "!"
+ end subroutine sayHello
+end module Hello_m