From: Lisandro Dalcin Date: Wed, 14 Oct 2009 21:22:16 +0000 (-0300) Subject: fix testcase to silent compiler warnings X-Git-Tag: 0.13.beta0~2^2~121^2~59 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=da0593f38a3220c7efe7d4e920093f6caf548a22;p=cython.git fix testcase to silent compiler warnings --- diff --git a/tests/compile/cnamespec.pyx b/tests/compile/cnamespec.pyx index 5ddc43ea..a627cffa 100644 --- a/tests/compile/cnamespec.pyx +++ b/tests/compile/cnamespec.pyx @@ -12,6 +12,9 @@ cdef double spam "c_spam" (int i, float f): cdef foo *p global b d = spam(a, f) + cdef foo q + q.i = 7 + p = &q b = p.i p.i = x p.i = y