Merged pull request #12 from bhy/T423.
[cython.git] / tests / compile / extcoerce.pyx
index 374238e08f584b55047aede6f01a186a54317dd1..a66432608a2793a84f6fe06fc733d27fbb89fc0d 100644 (file)
@@ -1,3 +1,5 @@
+# mode: compile
+
 cdef class Grail:
 
     def __add__(int x, float y):
@@ -5,10 +7,11 @@ cdef class Grail:
 
 cdef class Swallow:
     pass
-    
+
 def f(Grail g):
     cdef int i = 0
     cdef Swallow s
+    cdef object x
     g = x
     x = g
     g = i