Author: Armin Rigo <[email protected]>
Branch: cffi-1.0
Changeset: r1709:513fcc92ba99
Date: 2015-04-14 19:07 +0200
http://bitbucket.org/cffi/cffi/changeset/513fcc92ba99/

Log:    passing test

diff --git a/new/test_realize_c_type.py b/new/test_realize_c_type.py
--- a/new/test_realize_c_type.py
+++ b/new/test_realize_c_type.py
@@ -36,3 +36,8 @@
           " function type, not a pointer-to-function type")
     check("int(void)", expected_ffi_error="the type 'int()' is a"
           " function type, not a pointer-to-function type")
+
+def test_funcptr_rewrite_args():
+    check("int(*)(int(int))", "int(*)(int(*)(int))")
+    check("int(*)(long[])", "int(*)(long *)")
+    check("int(*)(long[5])", "int(*)(long *)")
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to