Whoops. Checking in testcase to demonstrate error in previous commits.
authorDag Sverre Seljebotn <dagss@student.matnat.uio.no>
Sat, 19 Jul 2008 21:05:39 +0000 (23:05 +0200)
committerDag Sverre Seljebotn <dagss@student.matnat.uio.no>
Sat, 19 Jul 2008 21:05:39 +0000 (23:05 +0200)
tests/run/cdefassign.pyx

index 79dc34531c76afbf9f8ab3f7c600b910d3a3be78..3ac1795d0be1406d6c2be3aaff9b5c0ef02ff820 100644 (file)
@@ -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