cdef void raise_py_error():
pass
-cdef extern from "foo.h":
+cdef extern from "cpp_exceptions.h":
cdef int generic_error() except +
cdef int specified_error() except +MemoryError
cdef int dynamic_error() except +raise_py_error
print var[0][0]
cdef unsigned long long var[100][100]
-
-_ERRORS = u"""
+# in 0.11.1 these are warnings
+FUTURE_ERRORS = u"""
4:13: cdef variable 's' declared after it is used
4:16: cdef variable 'vv' declared after it is used
9:14: cdef variable 'i' declared after it is used
47:10: cdef variable 'baz' declared after it is used
50:24: cdef variable 'var' declared after it is used
"""
+
+syntax error
+
+_ERRORS = u"""
+40:17: cdef variable 't' declared after it is used
+47:10: cdef variable 'baz' declared after it is used
+50:24: cdef variable 'var' declared after it is used
+67:7: Syntax error in simple statement list
+"""