summaryrefslogtreecommitdiff
path: root/tests/errors/redeclaration_of_var_by_cfunc_T600.pyx
blob: a568f0f9068c68aa5560d1339c3601c7f1212c4e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# ticket: 600
# mode: error

cdef class Bar:
    cdef list _operands

    cdef int _operands(self):
        return -1


_ERRORS = """
7:9: '_operands' redeclared
5:14: Previous declaration is here
"""