Commit 88ca3385 authored by Stefan Behnel's avatar Stefan Behnel

new error test for uncallable C types

parent b0890818
cdef int i
i()
cdef float f
f()
ctypedef struct s: # FIXME: this might be worth an error ...
int x
s()
_ERRORS = u"""
2:1: Calling non-function type 'int'
5:1: Calling non-function type 'float'
"""
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