summaryrefslogtreecommitdiff
path: root/tests/compile/funcptr.pyx
diff options
context:
space:
mode:
Diffstat (limited to 'tests/compile/funcptr.pyx')
-rw-r--r--tests/compile/funcptr.pyx12
1 files changed, 0 insertions, 12 deletions
diff --git a/tests/compile/funcptr.pyx b/tests/compile/funcptr.pyx
deleted file mode 100644
index 504238358..000000000
--- a/tests/compile/funcptr.pyx
+++ /dev/null
@@ -1,12 +0,0 @@
-# mode: compile
-
-cdef int grail():
- cdef int (*spam)()
- spam = &grail
- spam = grail
- spam()
-
-ctypedef int funcptr_t()
-
-cdef inline funcptr_t* dummy():
- return &grail