From: Robert Bradshaw Date: Tue, 26 Mar 2013 06:38:07 +0000 (-0700) Subject: Const temp regression test. X-Git-Tag: 0.19b1~20 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=16cb9327472b05ec32e52b3567413e481d8646d2;p=platform%2Fupstream%2Fpython-cython.git Const temp regression test. --- diff --git a/tests/compile/const_decl.pyx b/tests/compile/const_decl.pyx index 38040c6..fa293fb 100644 --- a/tests/compile/const_decl.pyx +++ b/tests/compile/const_decl.pyx @@ -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)