projects
/
cython.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e7336e2
)
fix error test case
author
Stefan Behnel
<scoder@users.berlios.de>
Sat, 5 Feb 2011 16:41:31 +0000
(17:41 +0100)
committer
Stefan Behnel
<scoder@users.berlios.de>
Sat, 5 Feb 2011 16:41:31 +0000
(17:41 +0100)
tests/errors/e_declarations.pyx
patch
|
blob
|
history
diff --git
a/tests/errors/e_declarations.pyx
b/tests/errors/e_declarations.pyx
index 0e9c804d35f342141c20ad2036970f4dd9a16af9..388978d177b82e45da606bc49b2ff79bd5ae6162 100644
(file)
--- a/
tests/errors/e_declarations.pyx
+++ b/
tests/errors/e_declarations.pyx
@@
-7,9
+7,10
@@
cdef void f():
cdef int (*h)()
h = <int ()()>f # this is an error
h = <int (*)()>f # this is OK
+
+
_ERRORS = u"""
1:19: Array element cannot be a function
-2:18: Function cannot return an array
3:18: Function cannot return a function
8:10: Function cannot return a function
8:5: Cannot cast to a function type