diff options
Diffstat (limited to 'tests/run/fused_types.pyx')
-rw-r--r-- | tests/run/fused_types.pyx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/run/fused_types.pyx b/tests/run/fused_types.pyx index 3dddb7e14..3a0009bdd 100644 --- a/tests/run/fused_types.pyx +++ b/tests/run/fused_types.pyx @@ -1,5 +1,5 @@ # mode: run -# ticket: 1772 +# ticket: t1772 cimport cython from cython.view cimport array @@ -328,6 +328,8 @@ def test_fused_memslice_dtype(cython.floating[:] array): cdef cython.floating[:] otherarray = array[0:100:1] print cython.typeof(array), cython.typeof(otherarray), \ array[5], otherarray[6] + cdef cython.floating value; + cdef cython.floating[:] test_cast = <cython.floating[:1:1]>&value def test_fused_memslice_dtype_repeated(cython.floating[:] array1, cython.floating[:] array2): """ |