aboutsummaryrefslogtreecommitdiffstats
path: root/meson/test cases/fortran/2 modules/prog.f90
diff options
context:
space:
mode:
Diffstat (limited to 'meson/test cases/fortran/2 modules/prog.f90')
-rw-r--r--meson/test cases/fortran/2 modules/prog.f9012
1 files changed, 12 insertions, 0 deletions
diff --git a/meson/test cases/fortran/2 modules/prog.f90 b/meson/test cases/fortran/2 modules/prog.f90
new file mode 100644
index 000000000..ffdff0506
--- /dev/null
+++ b/meson/test cases/fortran/2 modules/prog.f90
@@ -0,0 +1,12 @@
+program main
+use circle, only: pi
+use line, only: length
+implicit none
+
+print *,'pi=',pi
+
+length = pi
+print *, length
+
+end program
+