From: Stefan Behnel Date: Thu, 5 Jun 2008 12:36:30 +0000 (+0200) Subject: new error test for method redeclaration X-Git-Tag: 0.9.8rc1~11^2~10^2~6^2~12 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=5c8f0fc08b7c1495c37911acddca9b3dc042bfe4;p=cython.git new error test for method redeclaration --- diff --git a/tests/errors/cmethbasematch.pyx b/tests/errors/cmethbasematch.pyx new file mode 100644 index 00000000..b0b1222e --- /dev/null +++ b/tests/errors/cmethbasematch.pyx @@ -0,0 +1,12 @@ +cdef class C: + cdef void f(self): + pass + +cdef class D(C): + cdef void f(self, int x): + pass + +_ERRORS = u""" +6: 9: Signature not compatible with previous declaration +2: 9: Previous declaration is here +"""