Upload hf_env/lib/python3.14/site-packages/numpy/f2py/tests/src/crackfortran/common_with_division.f with huggingface_hub
Browse files
hf_env/lib/python3.14/site-packages/numpy/f2py/tests/src/crackfortran/common_with_division.f
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
subroutine common_with_division
|
| 2 |
+
integer lmu,lb,lub,lpmin
|
| 3 |
+
parameter (lmu=1)
|
| 4 |
+
parameter (lb=20)
|
| 5 |
+
c crackfortran fails to parse this
|
| 6 |
+
c parameter (lub=(lb-1)*lmu+1)
|
| 7 |
+
c crackfortran can successfully parse this though
|
| 8 |
+
parameter (lub=lb*lmu-lmu+1)
|
| 9 |
+
parameter (lpmin=2)
|
| 10 |
+
|
| 11 |
+
c crackfortran fails to parse this correctly
|
| 12 |
+
c common /mortmp/ ctmp((lub*(lub+1)*(lub+1))/lpmin+1)
|
| 13 |
+
|
| 14 |
+
common /mortmp/ ctmp(lub/lpmin+1)
|
| 15 |
+
|
| 16 |
+
return
|
| 17 |
+
end
|