Cython has moved to github.

cython-devel

view tests/run/cfuncdef.pyx @ 1622:4f0327bdebc9

test for temp allocation bug in call
author Robert Bradshaw <robertwb@math.washington.edu>
date Sat Jan 17 01:25:34 2009 -0800 (3 years ago)
parents 585d725fe537
children 82d312a9f1fc
line source
1 __doc__ = u"""
2 >>> test()
3 """
5 cdef void ftang():
6 cdef int x
7 x = 0
9 cdef int foo(int i, char c):
10 cdef float f, g
11 f = 0
12 g = 0
14 cdef spam(int i, obj, object object):
15 cdef char c
16 c = 0
18 def test():
19 ftang()
20 foo(0, c'f')
21 spam(25, None, None)