summaryrefslogtreecommitdiff
path: root/numpy/f2py/docs/simple.f
diff options
context:
space:
mode:
Diffstat (limited to 'numpy/f2py/docs/simple.f')
-rw-r--r--numpy/f2py/docs/simple.f13
1 files changed, 13 insertions, 0 deletions
diff --git a/numpy/f2py/docs/simple.f b/numpy/f2py/docs/simple.f
new file mode 100644
index 000000000..ba468a509
--- /dev/null
+++ b/numpy/f2py/docs/simple.f
@@ -0,0 +1,13 @@
+cFile: simple.f
+ subroutine foo(a,m,n)
+ integer m,n,i,j
+ real a(m,n)
+cf2py intent(in,out) a
+cf2py intent(hide) m,n
+ do i=1,m
+ do j=1,n
+ a(i,j) = a(i,j) + 10*i+j
+ enddo
+ enddo
+ end
+cEOF