From 5c8f0fc08b7c1495c37911acddca9b3dc042bfe4 Mon Sep 17 00:00:00 2001
From: Stefan Behnel <scoder@users.berlios.de>
Date: Thu, 5 Jun 2008 14:36:30 +0200
Subject: [PATCH] new error test for method redeclaration

---
 tests/errors/cmethbasematch.pyx | 12 ++++++++++++
 1 file changed, 12 insertions(+)
 create mode 100644 tests/errors/cmethbasematch.pyx

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
+"""
-- 
2.26.2