ktongue commited on
Commit
13a04fb
·
verified ·
1 Parent(s): 4ebcb21

Upload hf_env/lib/python3.14/site-packages/numpy/f2py/tests/src/crackfortran/gh23879.f90 with huggingface_hub

Browse files
hf_env/lib/python3.14/site-packages/numpy/f2py/tests/src/crackfortran/gh23879.f90 ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ module gh23879
2
+ implicit none
3
+ private
4
+ public :: foo
5
+
6
+ contains
7
+
8
+ subroutine foo(a, b)
9
+ integer, intent(in) :: a
10
+ integer, intent(out) :: b
11
+ b = a
12
+ call bar(b)
13
+ end subroutine
14
+
15
+ subroutine bar(x)
16
+ integer, intent(inout) :: x
17
+ x = 2*x
18
+ end subroutine
19
+
20
+ end module gh23879