summaryrefslogtreecommitdiff
path: root/tests/errors/bufaccess_noassignT444.pyx
blob: 44d2ebd0be1909c873232b09b79991b4e1f6f706 (plain)
1
2
3
4
5
6
7
8
9
10
# ticket: 444
# mode: error

def test():
     cdef object[int] not_assigned_to
     not_assigned_to[2] = 3

_ERRORS = """
6:5: local variable 'not_assigned_to' referenced before assignment
"""