blob: e8d65244da8a9bde3d071a081d638022ecff4aa1 (
plain)
1
2
3
4
5
6
7
8
9
10
|
# mode: compile
cimport cython
# Complex numbers defined in "cython.locals" weren't having their utility code imported directly
# leading to compile-errors that the type wasn't defined. The test is intentionally minimal since
# anything more thorough ends up creating the utility code
@cython.locals(x=complex)
cdef f(x):
pass
|