Fix error line numbers (due to tag additions).
[cython.git] / tests / errors / e_return.pyx
index e06f76ad891ab49d0094ec5a44fa4fb2dfc745d1..21ecb8b4c820f388a7f30a877b55f04efcd61271 100644 (file)
@@ -1,3 +1,5 @@
+# mode: error
+
 cdef void g():
        cdef int i
        return i # error
@@ -7,7 +9,7 @@ cdef int h():
        return # error
        return p # error
 _ERRORS = u"""
-3:17: Return with value in void function
-7:1: Return value required
-8:17: Cannot assign type 'int *' to 'int'
+5:17: Return with value in void function
+9:1: Return value required
+10:17: Cannot assign type 'int *' to 'int'
 """