From: Dag Sverre Seljebotn Date: Sat, 19 Jul 2008 21:05:39 +0000 (+0200) Subject: Whoops. Checking in testcase to demonstrate error in previous commits. X-Git-Tag: 0.9.8.1~49^2~88 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=689f6281a1e356068eddc1363472aaca0e5559df;p=cython.git Whoops. Checking in testcase to demonstrate error in previous commits. --- diff --git a/tests/run/cdefassign.pyx b/tests/run/cdefassign.pyx index 79dc3453..3ac1795d 100644 --- a/tests/run/cdefassign.pyx +++ b/tests/run/cdefassign.pyx @@ -2,8 +2,13 @@ __doc__ = """ >>> test(1, 2) 4 1 2 2 0 + >>> A().value + 4 """ +cdef class A: + cdef int value = 4 + def test(x, int y): if True: before = 0