summaryrefslogtreecommitdiff
path: root/tests/errors/void_as_arg.pyx
blob: 1ae855c2d2fec1d8cd24b5f6b4b1e2eafbdbc052 (plain)
1
2
3
4
5
6
7
8
# mode: error

cdef extern from *:
    void foo(void)

_ERRORS = u"""
2:13:Use spam() rather than spam(void) to declare a function with no arguments.
"""