Commit 03c9f035 authored by Stefan Behnel's avatar Stefan Behnel

move old list test from broken into tests/compile/

--HG--
rename : tests/broken/builtinlist.pyx => tests/compile/builtinlist.pyx
extra : amend_source : 9d1f1806562a676bb13d2fe5472d5a9261fb3b18
parent 3e799f2e
# mode: compile
cdef int f() except -1:
cdef list l
cdef object x, y, z
cdef object x = (), y = (1,), z
z = list
l = list(x)
l = list(*y)
......@@ -10,3 +12,8 @@ cdef int f() except -1:
l.sort()
l.reverse()
z = l.as_tuple()
return z is not None
def test():
f()
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment