blob: 5048719d8241fafdfb9e46e7faf8706b740ee79f (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
# ticket: 313
# mode: error
a = 3
cdef void* allowed = <void*>a
cdef double* disallowed = <double*>a
_ERRORS = u"""
7:26: Python objects cannot be cast to pointers of primitive types
"""
|