Merged pull request #12 from bhy/T423.
[cython.git] / tests / errors / e_badfuncargtype.pyx
index 5e23d3030d00dbea9469159646c68b45dcb6c8f3..cece614b724388e57c9987da9f9226fb14bab889 100644 (file)
@@ -1,3 +1,5 @@
+# mode: error
+
 cdef struct Spam
 
 cdef extern int spam(void)           # function argument cannot be void
@@ -6,7 +8,7 @@ cdef int tomato(Spam s):             # incomplete type
        pass
 
 _ERRORS = u"""
-3:21: Use spam() rather than spam(void) to declare a function with no arguments.
-4:29: Use spam() rather than spam(void) to declare a function with no arguments.
-5:16: Argument type 'Spam' is incomplete
+5:21: Use spam() rather than spam(void) to declare a function with no arguments.
+6:29: Use spam() rather than spam(void) to declare a function with no arguments.
+7:16: Argument type 'Spam' is incomplete
 """