Commit 8f2b34e0 authored by Robert Bradshaw's avatar Robert Bradshaw

Test for vtable mangling.

parent 23cca2e1
# 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