projects
/
cython.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Merge https://github.com/RafeKettler/cython
[cython.git]
/
tests
/
errors
/
e_return.pyx
1
# mode: error
2
3
cdef void g():
4
cdef int i
5
return i # error
6
7
cdef int h():
8
cdef int *p
9
return # error
10
return p # error
11
_ERRORS = u"""
12
3:17: Return with value in void function
13
7:1: Return value required
14
8:17: Cannot assign type 'int *' to 'int'
15
"""