Commit 528d9d8b authored by Robert Bradshaw's avatar Robert Bradshaw

Test for vtable mangling.

--HG--
extra : transplant_source : %A7%E7.%9C%22%C5%0E%89%11%93%13%18g%5B%E3%18%FD%98T%B8
parent 26895f24
# Tests that illegal member and vtab entries are mangled.
cdef class A:
"""
>>> a = A(100)
>>> a.case()
100
"""
def __init__(self, value):
self.switch = value
cdef int switch
cpdef case(self):
return self.switch
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