summaryrefslogtreecommitdiff
path: root/numpy/f2py/doc/ex1/foo.f
diff options
context:
space:
mode:
Diffstat (limited to 'numpy/f2py/doc/ex1/foo.f')
-rw-r--r--numpy/f2py/doc/ex1/foo.f5
1 files changed, 5 insertions, 0 deletions
diff --git a/numpy/f2py/doc/ex1/foo.f b/numpy/f2py/doc/ex1/foo.f
new file mode 100644
index 000000000..cdcac4103
--- /dev/null
+++ b/numpy/f2py/doc/ex1/foo.f
@@ -0,0 +1,5 @@
+ subroutine foo(a)
+ integer a
+cf2py intent(in,out) :: a
+ a = a + 5
+ end