From: Robert Bradshaw Date: Thu, 10 Sep 2009 08:35:53 +0000 (-0700) Subject: tests for #286 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=a5c7de87bb506ceae23115745f7fa3b2e3015f3b;p=cython.git tests for #286 --- diff --git a/tests/errors/pxd_cdef_class_declaration_T286.pxd b/tests/errors/pxd_cdef_class_declaration_T286.pxd new file mode 100644 index 00000000..671292fc --- /dev/null +++ b/tests/errors/pxd_cdef_class_declaration_T286.pxd @@ -0,0 +1 @@ +cdef class A diff --git a/tests/errors/pxd_cdef_class_declaration_T286.pyx b/tests/errors/pxd_cdef_class_declaration_T286.pyx new file mode 100644 index 00000000..7114bf8f --- /dev/null +++ b/tests/errors/pxd_cdef_class_declaration_T286.pyx @@ -0,0 +1,6 @@ +cdef class A: + pass + +_ERRORS = u""" +1:5: C class 'A' is declared but not defined +"""