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 0000000000000000000000000000000000000000..671292fc8c2c379167775ec81d5cc54db98df6f0 --- /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 0000000000000000000000000000000000000000..7114bf8f6d7d886d16b528f704dcd07222e4ae8c --- /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 +"""