Fix changeset 1839, both typecasts are valid.
authorRobert Bradshaw <robertwb@math.washington.edu>
Sat, 14 Mar 2009 20:47:25 +0000 (13:47 -0700)
committerRobert Bradshaw <robertwb@math.washington.edu>
Sat, 14 Mar 2009 20:47:25 +0000 (13:47 -0700)
tests/compile/typecast.pyx

index 9551afb765ed829abc57000006efddeb4a2881b0..c9db7444f193c129761a8c1dd656b1a8b85976ae 100644 (file)
@@ -1,6 +1,7 @@
 cdef void f(obj):
     cdef int i=0
     cdef char *p
+    p = <char *>i
     p = <char *>&i
     obj = <object>p
     p = <char *>obj