test case for ticket #466
authorStefan Behnel <scoder@users.berlios.de>
Wed, 9 Dec 2009 12:20:13 +0000 (13:20 +0100)
committerStefan Behnel <scoder@users.berlios.de>
Wed, 9 Dec 2009 12:20:13 +0000 (13:20 +0100)
tests/bugs.txt
tests/run/extended_unpacking_T466.pyx [new file with mode: 0644]

index 55e7e2c3df15948183cbb2335604ab9c3cdb361e..29aa0373b36ac7fe423187658b77fd1e918f7aa2 100644 (file)
@@ -7,3 +7,4 @@ numpy_ValueError_T172
 unsignedbehaviour_T184
 missing_baseclass_in_predecl_T262
 cfunc_call_tuple_args_T408
+extended_unpacking_T466
diff --git a/tests/run/extended_unpacking_T466.pyx b/tests/run/extended_unpacking_T466.pyx
new file mode 100644 (file)
index 0000000..6c0d3f7
--- /dev/null
@@ -0,0 +1,10 @@
+# extension to T409
+
+def simple_parallel_typed():
+    """
+    >>> simple_parallel_typed()
+    (1, 2, [1, 2], [1, 2])
+    """
+    cdef int a,c
+    a, c = d = e = [1,2]
+    return a, c, d, e