summaryrefslogtreecommitdiff
path: root/tests/errors/bufaccess_noassignT444.pyx
blob: c618106fb17c4846b9fcd3c73b3594e8750ab0ca (plain)
1
2
3
4
5
6
7
8
9
10
# ticket: t444
# 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
"""