summaryrefslogtreecommitdiff
path: root/numpy/f2py/tests/src
diff options
context:
space:
mode:
authorRohit Goswami <rog32@hi.is>2023-04-17 00:59:45 +0000
committerRohit Goswami <rog32@hi.is>2023-04-17 00:59:45 +0000
commitc7ff4118a345c966e2a0fc688e054e3fd9191e99 (patch)
tree6fac76e13297c0e0b66717e0b1747d3505388103 /numpy/f2py/tests/src
parent2ac450e5c0c0ca47040c2fd4147f45f42010510c (diff)
downloadnumpy-c7ff4118a345c966e2a0fc688e054e3fd9191e99.tar.gz
TST: Add a test for the f2py function wrapper file
Diffstat (limited to 'numpy/f2py/tests/src')
-rw-r--r--numpy/f2py/tests/src/crackfortran/gh23598Warn.f9011
1 files changed, 11 insertions, 0 deletions
diff --git a/numpy/f2py/tests/src/crackfortran/gh23598Warn.f90 b/numpy/f2py/tests/src/crackfortran/gh23598Warn.f90
new file mode 100644
index 000000000..3b44efc5e
--- /dev/null
+++ b/numpy/f2py/tests/src/crackfortran/gh23598Warn.f90
@@ -0,0 +1,11 @@
+module test_bug
+ implicit none
+ private
+ public :: intproduct
+
+contains
+ integer function intproduct(a, b) result(res)
+ integer, intent(in) :: a, b
+ res = a*b
+ end function
+end module