Commit 16cb9327 authored by Robert Bradshaw's avatar Robert Bradshaw

Const temp regression test.

parent fb7c70c2
......@@ -5,3 +5,7 @@ cdef const_args(const int a, const int *b, const (int*) c):
print b[0]
b = NULL # OK, the pointer itself is not const
c[0] = 4 # OK, the value is not const
def call_const_args(x):
cdef int k = x
const_args(x, &k, &k)
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