aboutsummaryrefslogtreecommitdiffstats
path: root/meson/test cases/fortran/5 static/static_hello.f90
diff options
context:
space:
mode:
Diffstat (limited to 'meson/test cases/fortran/5 static/static_hello.f90')
-rw-r--r--meson/test cases/fortran/5 static/static_hello.f9017
1 files changed, 17 insertions, 0 deletions
diff --git a/meson/test cases/fortran/5 static/static_hello.f90 b/meson/test cases/fortran/5 static/static_hello.f90
new file mode 100644
index 000000000..5407560d7
--- /dev/null
+++ b/meson/test cases/fortran/5 static/static_hello.f90
@@ -0,0 +1,17 @@
+module static_hello
+implicit none
+
+private
+public :: static_say_hello
+
+interface static_say_hello
+ module procedure say_hello
+end interface static_say_hello
+
+contains
+
+subroutine say_hello
+ print *, "Static library called."
+end subroutine say_hello
+
+end module static_hello