diff options
Diffstat (limited to 'tests/run/complex_int_T446.pyx')
-rw-r--r-- | tests/run/complex_int_T446.pyx | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/tests/run/complex_int_T446.pyx b/tests/run/complex_int_T446.pyx index a6f6aac2d..16e991c7c 100644 --- a/tests/run/complex_int_T446.pyx +++ b/tests/run/complex_int_T446.pyx @@ -1,9 +1,14 @@ -# ticket: 446 +# ticket: t446 import cython -cdef extern from "complex_int_T446_fix.h": - pass +cdef extern from *: + """ + #if defined _MSC_VER && defined __cplusplus + #define CYTHON_CCOMPLEX 0 + #endif + """ + def test_arith(int complex a, int complex b): """ |