Merged pull request #12 from bhy/T423.
[cython.git] / tests / compile / specmethextarg.pyx
1 # mode: compile
2
3 cdef class Spam:
4     cdef int eggs
5
6     def __iadd__(self, Spam other):
7         self.eggs = self.eggs +  other.eggs
8