Commit b320d785 authored by Stefan Behnel's avatar Stefan Behnel

fix error test case

parent e7336e2f
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment