Commit 050a5310 authored by Dag Sverre Seljebotn's avatar Dag Sverre Seljebotn

Testcase for cdef assignments

parent e994a8b7
__doc__ = """
>>> test(1, 2)
4 1 2 2 0
"""
def test(x, int y):
if True:
before = 0
cdef int a = 4, b = x, c = y, *p = &y
print a, b, c, p[0], before
# Also test that pruning cdefs doesn't hurt
def empty():
cdef int i
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