1cdef class Base:
2    cpdef str noargs(self)
3    cpdef str int_arg(self, int i)
4    cpdef str _class(tp)
5
6cdef class Derived(Base):
7    cpdef str noargs(self)
8    cpdef str int_arg(self, int i)
9    cpdef str _class(tp)
10
11cdef class DerivedDerived(Derived):
12    cpdef str noargs(self)
13    cpdef str int_arg(self, int i)
14    cpdef str _class(tp)
15
16cdef class Derived2(Base):
17    cpdef str noargs(self)
18    cpdef str int_arg(self, int i)
19    cpdef str _class(tp)
20