disable raise ... from ... unittest in py3 (but other syntax checks still work)
[cython.git] / tests / compile / funcptr.pyx
1 cdef int grail():
2     cdef int (*spam)()
3     spam = &grail
4     spam = grail
5     spam()
6
7 ctypedef int funcptr_t()
8
9 cdef inline funcptr_t* dummy():
10     return &grail