tests for #286
authorRobert Bradshaw <robertwb@math.washington.edu>
Thu, 10 Sep 2009 08:35:53 +0000 (01:35 -0700)
committerRobert Bradshaw <robertwb@math.washington.edu>
Thu, 10 Sep 2009 08:35:53 +0000 (01:35 -0700)
tests/errors/pxd_cdef_class_declaration_T286.pxd [new file with mode: 0644]
tests/errors/pxd_cdef_class_declaration_T286.pyx [new file with mode: 0644]

diff --git a/tests/errors/pxd_cdef_class_declaration_T286.pxd b/tests/errors/pxd_cdef_class_declaration_T286.pxd
new file mode 100644 (file)
index 0000000..671292f
--- /dev/null
@@ -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 (file)
index 0000000..7114bf8
--- /dev/null
@@ -0,0 +1,6 @@
+cdef class A:
+    pass
+
+_ERRORS = u"""
+1:5: C class 'A' is declared but not defined
+"""