Add tags to test files.
[cython.git] / tests / errors / e_badfuncargtype.pyx
1 # mode: error
2
3 cdef struct Spam
4
5 cdef extern int spam(void)           # function argument cannot be void
6 cdef extern int grail(int i, void v) # function argument cannot be void
7 cdef int tomato(Spam s):             # incomplete type
8         pass
9
10 _ERRORS = u"""
11 3:21: Use spam() rather than spam(void) to declare a function with no arguments.
12 4:29: Use spam() rather than spam(void) to declare a function with no arguments.
13 5:16: Argument type 'Spam' is incomplete
14 """