Cython has moved to github.

cython-devel

view tests/run/bint.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 a16c8e765fcf
children 82d312a9f1fc
line source
1 __doc__ = u"""
2 >>> call_test()
3 False
4 True
5 False
6 True
7 True
8 True
9 True
10 """
12 cdef test(bint value):
13 print value
15 def call_test():
16 test(False)
17 test(True)
18 test(0)
19 test(234)
20 test(-1)
21 x = True
22 test(x)
23 x = 3242
24 test(x)