Merge docs repo
[cython.git] / tests / errors / e_return.pyx
1 cdef void g():
2         cdef int i
3         return i # error
4
5 cdef int h():
6         cdef int *p
7         return # error
8         return p # error
9 _ERRORS = u"""
10 3:17: Return with value in void function
11 7:1: Return value required
12 8:17: Cannot assign type 'int *' to 'int'
13 """