Cython has moved to github.

cython-devel

view tests/run/tandemstats.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 612957ef6e8f
children 82d312a9f1fc
line source
1 __doc__ = u"""
2 >>> result() == (99, 17*42, 17*42)
3 True
4 """
6 cdef int i, j, k
7 i = 17; j = 42; k = i * j
8 if j > k: i = 88
9 else: i = 99; j = k
11 def result():
12 return (i,j,k)