summaryrefslogtreecommitdiff
path: root/numpy/f2py/docs/hello.f
diff options
context:
space:
mode:
Diffstat (limited to 'numpy/f2py/docs/hello.f')
-rw-r--r--numpy/f2py/docs/hello.f7
1 files changed, 7 insertions, 0 deletions
diff --git a/numpy/f2py/docs/hello.f b/numpy/f2py/docs/hello.f
new file mode 100644
index 000000000..3e0dc6d21
--- /dev/null
+++ b/numpy/f2py/docs/hello.f
@@ -0,0 +1,7 @@
+C File hello.f
+ subroutine foo (a)
+ integer a
+ print*, "Hello from Fortran!"
+ print*, "a=",a
+ end
+