Author: Armin Rigo <[email protected]>
Branch:
Changeset: r59:9a6ff1e210b0
Date: 2014-11-17 23:00 +0100
http://bitbucket.org/cffi/creflect/changeset/9a6ff1e210b0/
Log: Kill file, duplicate from func-003.c
diff --git a/test/codegen/007.c b/test/codegen/007.c
deleted file mode 100644
--- a/test/codegen/007.c
+++ /dev/null
@@ -1,22 +0,0 @@
-typedef int (*myfunc_t)(long, unsigned long long);
-
-# ____________________________________________________________
-
-static void __creflect_t_myfunc_t(void *func, void *args[], void *result) {
- myfunc_t f = func;
- *(int *)result = f(*(long *)args[0], *(unsigned long long *)args[1]);
-}
-
-int test007(char *r)
-{
- if (!r)
- return 65;
- {
- myfunc_t *p1;
- char *p2;
- p1 = (void *)&p2;
- *p1 = (void *)0; /* check that 'myfunc_t' is a pointer type */
- r += sprintf(r, "typedef int (*myfunc_t)(long, unsigned long
long)/*%p*/;\n", &__creflect_t_myfunc_t);
- }
- return 0;
-}
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit