projects
/
cython.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merged pull request #12 from bhy/T423.
[cython.git]
/
tests
/
compile
/
extcoerce.pyx
diff --git
a/tests/compile/extcoerce.pyx
b/tests/compile/extcoerce.pyx
index 7a850b602720c87ac098df0974ded2f8cfc64be0..a66432608a2793a84f6fe06fc733d27fbb89fc0d 100644
(file)
--- a/
tests/compile/extcoerce.pyx
+++ b/
tests/compile/extcoerce.pyx
@@
-1,3
+1,5
@@
+# mode: compile
+
cdef class Grail:
def __add__(int x, float y):
@@
-5,7
+7,7
@@
cdef class Grail:
cdef class Swallow:
pass
-
+
def f(Grail g):
cdef int i = 0
cdef Swallow s