new failing test case (from Pyrex list)
authorStefan Behnel <scoder@users.berlios.de>
Sat, 25 Oct 2008 09:11:43 +0000 (11:11 +0200)
committerStefan Behnel <scoder@users.berlios.de>
Sat, 25 Oct 2008 09:11:43 +0000 (11:11 +0200)
tests/run/dictintindex.pyx [new file with mode: 0644]

diff --git a/tests/run/dictintindex.pyx b/tests/run/dictintindex.pyx
new file mode 100644 (file)
index 0000000..2c4ac45
--- /dev/null
@@ -0,0 +1,12 @@
+__doc__ = u"""
+>>> test()
+1
+"""
+
+def test():
+    cdef int key = 0
+
+    d = {0:1}
+    print d[key]
+    del d[key]
+    print d[key]